Verified Commit 1e7e5bd7 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Create directory with install(1) to set mode and group in one command

parent 6dcdc43d
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -32,7 +32,7 @@ ENTRYPOINT ["/bin/entrypoint"]
FROM moby/buildkit:${VERSION:+$VERSION-}rootless as buildkitd

USER 0
RUN mkdir --mode 0775 /run/buildkit && chgrp 1000 /run/buildkit
RUN install --mode=0775 --group=1000 --directory /run/buildkit
COPY entrypoint.buildkitd.sh /bin/entrypoint

USER 1000