mirror of https://github.com/containers/podman.git
Merge pull request #10680 from bburky/dockerfile-volume-permissions
Create user storage dir with correct permissions in Dockerfiles
This commit is contained in:
commit
8d3a828383
|
@ -21,6 +21,7 @@ echo podman:10000:5000 > /etc/subgid;
|
||||||
|
|
||||||
VOLUME /var/lib/containers
|
VOLUME /var/lib/containers
|
||||||
VOLUME /home/podman/.local/share/containers
|
VOLUME /home/podman/.local/share/containers
|
||||||
|
RUN mkdir -p /home/podman/.local/share/containers
|
||||||
|
|
||||||
ADD https://raw.githubusercontent.com/containers/libpod/master/contrib/podmanimage/stable/containers.conf /etc/containers/containers.conf
|
ADD https://raw.githubusercontent.com/containers/libpod/master/contrib/podmanimage/stable/containers.conf /etc/containers/containers.conf
|
||||||
ADD https://raw.githubusercontent.com/containers/libpod/master/contrib/podmanimage/stable/podman-containers.conf /home/podman/.config/containers/containers.conf
|
ADD https://raw.githubusercontent.com/containers/libpod/master/contrib/podmanimage/stable/podman-containers.conf /home/podman/.config/containers/containers.conf
|
||||||
|
|
|
@ -21,6 +21,7 @@ echo podman:10000:5000 > /etc/subgid;
|
||||||
|
|
||||||
VOLUME /var/lib/containers
|
VOLUME /var/lib/containers
|
||||||
VOLUME /home/podman/.local/share/containers
|
VOLUME /home/podman/.local/share/containers
|
||||||
|
RUN mkdir -p /home/podman/.local/share/containers
|
||||||
|
|
||||||
ADD https://raw.githubusercontent.com/containers/libpod/master/contrib/podmanimage/stable/containers.conf /etc/containers/containers.conf
|
ADD https://raw.githubusercontent.com/containers/libpod/master/contrib/podmanimage/stable/containers.conf /etc/containers/containers.conf
|
||||||
ADD https://raw.githubusercontent.com/containers/libpod/master/contrib/podmanimage/stable/podman-containers.conf /home/podman/.config/containers/containers.conf
|
ADD https://raw.githubusercontent.com/containers/libpod/master/contrib/podmanimage/stable/podman-containers.conf /home/podman/.config/containers/containers.conf
|
||||||
|
|
|
@ -69,6 +69,7 @@ echo podman:10000:5000 > /etc/subgid;
|
||||||
|
|
||||||
VOLUME /var/lib/containers
|
VOLUME /var/lib/containers
|
||||||
VOLUME /home/podman/.local/share/containers
|
VOLUME /home/podman/.local/share/containers
|
||||||
|
RUN mkdir -p /home/podman/.local/share/containers
|
||||||
|
|
||||||
ADD https://raw.githubusercontent.com/containers/libpod/master/contrib/podmanimage/stable/containers.conf /etc/containers/containers.conf
|
ADD https://raw.githubusercontent.com/containers/libpod/master/contrib/podmanimage/stable/containers.conf /etc/containers/containers.conf
|
||||||
ADD https://raw.githubusercontent.com/containers/libpod/master/contrib/podmanimage/stable/podman-containers.conf /home/podman/.config/containers/containers.conf
|
ADD https://raw.githubusercontent.com/containers/libpod/master/contrib/podmanimage/stable/podman-containers.conf /home/podman/.config/containers/containers.conf
|
||||||
|
|
Loading…
Reference in New Issue