We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49a05eb commit 1016124Copy full SHA for 1016124
1 file changed
Dockerfile
@@ -25,10 +25,12 @@ COPY . .
25
RUN make -j 4 artifact-server
26
27
# Runtime stage
28
-FROM scratch
+FROM gcr.io/distroless/static
29
+
30
+USER 8737
31
32
# Copy the binary from builder stage
-COPY --from=builder /app/artifact-server /artifact-server
33
+COPY --chown=8737 --from=builder /app/artifact-server /artifact-server
34
35
# Set the binary as entrypoint
36
ENTRYPOINT ["/artifact-server"]
0 commit comments