Skip to content

Commit d9c7008

Browse files
change base image to distroless/static
Signed-off-by: Vilmos Martinek <vilmos.martinek@nokia.com>
1 parent c3d4059 commit d9c7008

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
@@ -22,7 +22,7 @@ RUN --mount=target=. \
2222
GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -o /function .
2323

2424
# Produce the Function image.
25-
FROM gcr.io/distroless/base-debian11 AS image
25+
FROM gcr.io/distroless/static-debian12:nonroot AS image
2626
WORKDIR /
2727
COPY --from=build /function /function
2828
EXPOSE 9443

0 commit comments

Comments
 (0)