Skip to content

Commit

Permalink
Merge pull request #134 from nokia/static-base-image
Browse files Browse the repository at this point in the history
Use distroless/static image instead of distroless/base since glibc is not used
  • Loading branch information
phisco authored Dec 4, 2024
2 parents 2bcc90e + 22b3795 commit 546c8b4
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
Expand Up @@ -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
Expand Down

0 comments on commit 546c8b4

Please sign in to comment.