otel distroless (#10741)
This commit is contained in:
parent
4c39e6accc
commit
7c998b5937
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ COPY . .
|
||||||
RUN go mod download
|
RUN go mod download
|
||||||
RUN CGO_ENABLED=0 go build -o /go/bin/init_module
|
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=build-init /go/bin/init_module /
|
||||||
COPY --from=nginx /etc/nginx/modules /etc/nginx/modules
|
COPY --from=nginx /etc/nginx/modules /etc/nginx/modules
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue