otel distroless

This commit is contained in:
Ehsan Saei 2023-12-08 22:11:34 +01:00 committed by GitHub
parent 4c39e6accc
commit c7c0bb34e6
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