diff --git a/templates/go/Dockerfile b/templates/go/Dockerfile index befd5c2cf..01c0edc66 100644 --- a/templates/go/Dockerfile +++ b/templates/go/Dockerfile @@ -22,7 +22,7 @@ RUN CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} \ go build -trimpath -ldflags="-s -w" -o /out/function . # gcr.io/distroless/static:nonroot -FROM gcr.io/distroless/static:nonroot@sha256:e2e927ec666bae08560abb3c55d0659eceabb657f56b6782ab500a9fc7f555e3 +FROM gcr.io/distroless/static:nonroot@sha256:18f4cc26c9ffa7f20a359298be7deadac5c607c8e03a02b8119f1a5fc2f82c99 COPY --from=build /out/function /function USER 65532:65532 EXPOSE 8080