Skip to content

Commit

Permalink
use distroless-base-nossl image (#5034)
Browse files Browse the repository at this point in the history
* use distroless-base-nossl image

It includes glibc which allows us to run envoy-proxy inside the
container image

Fixes: #5033

Signed-off-by: Arko Dasgupta <[email protected]>

* add release note

Signed-off-by: Arko Dasgupta <[email protected]>

---------

Signed-off-by: Arko Dasgupta <[email protected]>
  • Loading branch information
arkodg authored Jan 14, 2025
1 parent 58a9b23 commit f6bb7f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions release-notes/current.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,6 @@ deprecations: |
# Other notable changes not covered by the above sections.
Other changes: |
Modified the base container image to gcr.io/distroless/base-nossl:nonroot
[SecurityPolicy] Modify the JWT Provider Issuer validation constraint
Add support for Kubernetes 1.32.x in the test matrix, and remove support for Kubernetes 1.28.x.
2 changes: 1 addition & 1 deletion tools/docker/envoy-gateway/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ RUN mkdir -p /var/lib/eg

# Use distroless as minimal base image to package the manager binary
# Refer to https://github.com/GoogleContainerTools/distroless for more details
FROM gcr.io/distroless/static:nonroot@sha256:6cd937e9155bdfd805d1b94e037f9d6a899603306030936a3b11680af0c2ed58
FROM gcr.io/distroless/base-nossl:nonroot@sha256:2a803cc873dc1a69a33087ee10c75755367dd2c259219893504680480ad563f0
ARG TARGETPLATFORM
COPY $TARGETPLATFORM/envoy-gateway /usr/local/bin/
COPY --from=source --chown=65532:65532 /var/lib /var/lib
Expand Down

0 comments on commit f6bb7f8

Please sign in to comment.