1
0
Fork 0

Merge subuid/subgid into a single RUN
All checks were successful
/ Build oci-builder (push) Successful in 58s
/ Test oci-builder (push) Successful in 49s
/ Release oci-builder (push) Successful in 3s

This commit is contained in:
ver4a 2025-04-16 17:49:36 +02:00
parent 9b7b7f9479
commit 8181b54767

View file

@ -13,8 +13,7 @@ ENV BUILDAH_ISOLATION=chroot
RUN curl -sfL https://code.forgejo.org/forgejo/runner/releases/download/v${RUNNER_VERSION}/forgejo-runner-${RUNNER_VERSION}-linux-amd64 -o /usr/local/bin/forgejo-runner
RUN chmod +x /usr/local/bin/forgejo-runner
RUN echo "nobody:65536:65536" > /etc/subuid
RUN echo "nobody:65536:65536" > /etc/subgid
RUN echo "nobody:65536:65536" > /etc/subuid && echo "nobody:65536:65536" > /etc/subgid
ENV HOME=/builder
ENV REGISTRY_AUTH_FILE=/builder/.config/containers/auth.json