Skip to content

Commit b2c8300

Browse files
authored
fix(Dockerfile): use base-debian12 nonroot image
1 parent 9bd6879 commit b2c8300

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ RUN GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -o /function .
4040

4141
# Produce the Function image. We use a very lightweight 'distroless' image that
4242
# does not include any of the build tools used in previous stages.
43-
FROM gcr.io/distroless/base-debian12 AS image
43+
FROM gcr.io/distroless/base-debian12:nonroot AS image
4444
WORKDIR /
4545
COPY --from=build /function /function
4646
EXPOSE 9443

0 commit comments

Comments
 (0)