Skip to content

Commit

Permalink
Change the path of the storage config for podman
Browse files Browse the repository at this point in the history
[noissue]
  • Loading branch information
lubosmj committed Sep 11, 2024
1 parent 87209a9 commit 35e87e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 0 additions & 3 deletions images/Containerfile.core.base
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,6 @@ RUN dnf -y install python${PYTHON_VERSION} python3-cryptography python${PYTHON_V
RUN groupadd -g 700 --system pulp
RUN useradd -d /var/lib/pulp --system -u 700 -g pulp pulp

# Rootless podman inside rootless podman/docker
# https://www.redhat.com/sysadmin/podman-inside-container
RUN sed 's|^#mount_program|mount_program|g' -i /etc/containers/storage.conf
# We modified the example so that we have a UID range of upto 65535.
# Because, for example, the image docker.io/library/busybox actually uses the user nobody(65534) for
# /home rather than the traditional nobody/nfsnbody usage (not an owner on a permanent filesystem.)
Expand Down
2 changes: 2 additions & 0 deletions images/pulp_ci_centos/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ ARG FROM_TAG="latest"
FROM pulp/base:${FROM_TAG}
# https://ryandaniels.ca/blog/docker-dockerfile-arg-from-arg-trouble/

RUN dnf -y install xz

RUN curl -Ls https://github.com/just-containers/s6-overlay/releases/download/v3.1.6.2/s6-overlay-x86_64.tar.xz | tar xvJ -C /
RUN curl -Ls https://github.com/just-containers/s6-overlay/releases/download/v3.1.6.2/s6-overlay-noarch.tar.xz | tar xvJ -C /
RUN curl -Ls https://github.com/just-containers/s6-overlay/releases/download/v3.1.6.2/s6-overlay-symlinks-noarch.tar.xz | tar xvJ -C /
Expand Down

0 comments on commit 35e87e7

Please sign in to comment.