Skip to content
Merged
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tools/docker/envoy-gateway/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
FROM busybox@sha256:37f7b378a29ceb4c551b1b5582e27747b855bbfaa73fa11914fe0df028dc581f AS source
# Create the data directory for eg
RUN mkdir -p /var/lib/eg
RUN mkdir -p /var/lib/eg && chmod -R 0777 /var/lib/eg
Comment thread
zhaohuabing marked this conversation as resolved.
Comment thread
zhaohuabing marked this conversation as resolved.

# 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/base-nossl:nonroot@sha256:ecbab76d6a504ddf7c58a9d786e70f1f1731fa546b1ac0b20dab35c6fc2f3138
ARG TARGETPLATFORM
COPY --chown=65532:65532 $TARGETPLATFORM/envoy-gateway /usr/local/bin/
COPY --from=source --chown=65532:65532 /var/lib /var/lib
Comment thread
arkodg marked this conversation as resolved.
COPY --from=source /var/lib /var/lib

USER 65532:65532

Expand Down
Loading