otel distroless (#10741)

This commit is contained in:
Ehsan Saei 2023-12-08 23:15:02 +01:00 committed by GitHub
parent 4c39e6accc
commit 7c998b5937
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -54,7 +54,7 @@ COPY . .
RUN go mod download
RUN CGO_ENABLED=0 go build -o /go/bin/init_module
FROM cgr.dev/chainguard/static as final
FROM gcr.io/distroless/static-debian11 as final
COPY --from=build-init /go/bin/init_module /
COPY --from=nginx /etc/nginx/modules /etc/nginx/modules