Skip to content

Commit

Permalink
Build from distroless/base:nonroot
Browse files Browse the repository at this point in the history
Switch from the default distroless image (which runs as root) to
the distroless image (which runs as uid 65532)

Related to #237

Signed-off-by: Jonathan Yu <[email protected]>
  • Loading branch information
jawnsy committed Aug 16, 2023
1 parent 715aed2 commit 7a165de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile.release
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# vim: syntax=dockerfile
FROM gcr.io/distroless/base
FROM gcr.io/distroless/base:nonroot
COPY validated-update-graph.yaml /opt/operator/config.yaml
COPY --from=ghcr.io/grpc-ecosystem/grpc-health-probe:v0.4.19 /ko-app/grpc-health-probe /usr/local/bin/grpc_health_probe
COPY spicedb-operator /usr/local/bin/spicedb-operator
Expand Down

0 comments on commit 7a165de

Please sign in to comment.