Skip to content

Commit

Permalink
chore(deps): update gcr.io/distroless/static:nonroot docker digest to…
Browse files Browse the repository at this point in the history
… cacb3d8

Signed-off-by: Renovate Bot <[email protected]>
  • Loading branch information
renovate[bot] authored Jan 3, 2023
1 parent e6ef839 commit 3e306fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _template/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ RUN --mount=target=. \
go build -ldflags="-w -s" -o /app/main ./cmd/{{.Base.appName}}/*.go

# Import the binary from build stage
FROM gcr.io/distroless/static:nonroot@sha256:9ec950c09380320e203369982691eb821df6a6974edf9f4bb8e661d4b77b9d99 as prd
FROM gcr.io/distroless/static:nonroot@sha256:cacb3d85a593c44e2f3998175164f0c694e475b40e639294f224062842e90724 as prd
COPY --from=build /app/main /
# this is the numeric version of user nonroot:nonroot to check runAsNonRoot in kubernetes
USER 65532:65532
Expand Down

0 comments on commit 3e306fb

Please sign in to comment.