Skip to content

Commit

Permalink
run as nonroot
Browse files Browse the repository at this point in the history
  • Loading branch information
majst01 committed Nov 15, 2024
1 parent 3d3291a commit 6e2dcf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ WORKDIR /work
COPY . .
RUN make server client

FROM gcr.io/distroless/static-debian12
FROM gcr.io/distroless/static-debian12:nonroot
COPY --from=health-downloader /bin/grpc_health_probe /bin/grpc_health_probe
COPY --from=builder /work/bin/* /
ENTRYPOINT [ "/server" ]

0 comments on commit 6e2dcf7

Please sign in to comment.