diff --git a/Dockerfile b/Dockerfile index e60bad5..156e392 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,7 +23,7 @@ RUN --mount=target=. \ # Import the binary from build stage -FROM gcr.io/distroless/static:nonroot@sha256:91ca4720011393f4d4cab3a01fa5814ee2714b7d40e6c74f2505f74168398ca9 as prd +FROM gcr.io/distroless/static:nonroot@sha256:26f9b99f2463f55f20db19feb4d96eb88b056e0f1be7016bb9296a464a89d772 as prd COPY --link --from=build /app/main / # this is the numeric version of user nonroot:nonroot to check runAsNonRoot in kubernetes USER 65532:65532