ADD alpine-minirootfs-3.21.3-x86_64.tar.gz / # buildkit |
CMD ["/bin/sh"] |
COPY file:ae635d55bc2734bee8741fe8bb8e81f51bfd7e001edb8d8369048df017532051 in /containers.conf |
COPY file:a7f7f696e388dfe978ebf3766d891d969a7d10aa4ae28c778512d6584ff18f17 in /containers-user.conf |
/bin/sh -c sed -i 's|dl-cdn\.alpinelinux\.org/alpine|alpine.sakamoto.pl/alpine|g' /etc/apk/repositories && apk add --no-cache podman git bash curl tree fuse-overlayfs openssh-client-default ucpp && ln -s /usr/bin/ucpp /usr/local/bin/ucpp && adduser -D podman -u 1000 && echo 'podman:1:999' > /etc/subuid && echo 'podman:1001:64535' >> /etc/subuid && cp /etc/subuid /etc/subguid && ln -s /usr/local/bin/podman /usr/bin/docker && mkdir -p /home/podman/.config/containers && mkdir -p /home/podman/.local/share/containers && mv /containers.conf /etc/containers/containers.conf && mv /containers-user.conf /home/podman/.config/containers/containers.conf && chown podman:podman -R /home/podman && chmod 644 /etc/containers/containers.conf && sed -e 's|^#mount_program|mount_program|g' -e '/additionalimage.*/a "/var/lib/shared",' -e 's|^mountopt[[:space:]]*=.*$|mountopt = "nodev,fsync=0"|g' /usr/share/containers/storage.conf > /etc/containers/storage.conf && printf '/run/secrets/etc-pki-entitlement:/run/secrets/etc-pki-entitlement\n/run/secrets/rhsm:/run/secrets/rhsm\n' > /etc/containers/mounts.conf && mkdir -p /var/lib/shared/overlay-images /var/lib/shared/overlay-layers /var/lib/shared/vfs-images /var/lib/shared/vfs-layers && touch /var/lib/shared/overlay-images/images.lock /var/lib/shared/overlay-layers/layers.lock /var/lib/shared/vfs-images/images.lock /var/lib/shared/vfs-layers/layers.lock ENV _CONTAINERS_USERNS_CONFIGURED="" BUILDAH_ISOLATION="chroot" |
VOLUME /var/lib/containers/storage |
VOLUME /home/podman/.local/share/containers |
ENTRYPOINT [ "/bin/bash" ] |