Merge subuid/subgid into a single RUN
This commit is contained in:
parent
9b7b7f9479
commit
8181b54767
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue