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
… d8afc7d (#164)

Signed-off-by: Renovate Bot <bot@renovateapp.com>

Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Oct 21, 2022
1 parent b7207f5 commit ef8d67b
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:380318dd91fd3bea73ae5fe1eb4d795ef7923f576e6f5f8d4de6ef1ea18ed540 as prd
FROM gcr.io/distroless/static:nonroot@sha256:d8afc7d6973f357162e2283551cf3347b2bb847a03d24510ee837f289505f8e3 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 ef8d67b

Please sign in to comment.