Skip to content
Snippets Groups Projects
Verified Commit b3eb3369 authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

Rework changes to libpod.conf

In order to be sure, that we stay up-to-date with the defaults and not
missing anything, it's better to use sed instead of an own config file.

This patch should works the previous file integration with an sed based
approach.
parent d7634e1a
No related branches found
No related tags found
No related merge requests found
Pipeline #756 passed
FROM fedora:30 FROM fedora:30
COPY resources/storage.conf resources/libpod.conf /etc/containers/ COPY resources/storage.conf /etc/containers/
RUN dnf -y upgrade && dnf -y install podman buildah findutils && dnf clean all RUN true\
&& dnf -y upgrade \
&& dnf -y install podman buildah findutils \
&& dnf clean all \
&& sed -e 's/cgroup_manager =.*/cgroup_manager = "cgroupfs"/' /usr/share/containers/libpod.conf > /etc/containers/libpod.conf \
&& true
CMD ["/bin/bash"] CMD ["/bin/bash"]
cgroup_manager = "cgroupfs"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment