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
… 380318d (#159)

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] committed Oct 12, 2022
1 parent 47ac0a2 commit f5577d0
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:1f580b0a1922c3e54ae15b0758b5747b260bd99d39d40c2edb3e7f6e2452298b as prd
FROM gcr.io/distroless/static:nonroot@sha256:380318dd91fd3bea73ae5fe1eb4d795ef7923f576e6f5f8d4de6ef1ea18ed540 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 f5577d0

Please sign in to comment.