Skip to content

Commit 2376e06

Browse files
authored
Merge pull request #157 from nokia/static-base-image
Use distroless/static image instead of distroless/base since glibc is not used
2 parents c3d4059 + d9c7008 commit 2376e06

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)