| ADD alpine-minirootfs-3.24.4-aarch64.tar.gz / # buildkit |
| CMD ["/bin/sh"] |
| ARG USER_NAME |
| ARG USER_NAME USER_UID |
| ARG USER_GID USER_NAME USER_UID |
| ENV BUILDAH_ISOLATION=chroot |
| COPY file:880341d046dfc11c167779e658272747d8afb6fb771f4db7fe12d672e5ebea70 in /etc/containers/containers.conf |
| COPY file:7a79516f9dcda33b8e319b8a6b5f46b16aa50af93b7b2e3f12302e9007e34546 in /etc/containers/storage.conf |
| |3 USER_GID=1000 USER_NAME=podman USER_UID=1000 /bin/sh -c set -eux; apk add --no-cache podman fuse-overlayfs passt shadow-subids libcap-setcap ca-certificates doas; chmod u-s /usr/bin/newuidmap /usr/bin/newgidmap; setcap cap_setuid+ep /usr/bin/newuidmap; setcap cap_setgid+ep /usr/bin/newgidmap; addgroup -g "$USER_GID" "$USER_NAME"; adduser -D -u "$USER_UID" -G "$USER_NAME" -h "/home/$USER_NAME" "$USER_NAME"; chmod 4755 /usr/bin/doas |
| COPY file:e277069631952ae1876de4160f45a9a66da50e0cac361ab3386581313deb7553 in /etc/doas.conf |
| |3 USER_GID=1000 USER_NAME=podman USER_UID=1000 /bin/sh -c set -eux; touch /etc/subuid /etc/subgid; echo "$USER_NAME:$((USER_UID+1)):64535" >> /etc/subuid; echo "$USER_NAME:$((USER_GID+1)):64535" >> /etc/subgid |
| USER ${USER_NAME} |
| WORKDIR /home/${USER_NAME} |