We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 117ebcf commit 361a040Copy full SHA for 361a040
engine/Dockerfile.scratch
@@ -16,7 +16,7 @@ RUN addgroup -g 10001 -S dockergrp && \
16
FROM scratch
17
18
# Copy temp directory with correct ownership
19
-COPY --from=usersetup /tmpdir /tmp
+COPY --from=usersetup --chown=10001:10001 /tmpdir /tmp
20
21
# Security: Copy user information and switch to non-root user
22
COPY --from=usersetup /etc/passwd /etc/passwd
0 commit comments