Skip to content

Commit

Permalink
change base image to distroless/static
Browse files Browse the repository at this point in the history
Signed-off-by: Vilmos Martinek <vilmos.martinek@nokia.com>
vilmosmartinek committed Nov 27, 2024
1 parent 9dfd2ff commit 191bd03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -38,7 +38,7 @@ RUN --mount=target=. \

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

0 comments on commit 191bd03

Please sign in to comment.