diff --git a/build/Dockerfile b/build/Dockerfile index cea9b731e..30a9a17d5 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -15,7 +15,7 @@ COPY --link client ./client RUN CGO_ENABLED=0 GOOS=linux GOARCH=$TARGETARCH go build -trimpath -a -ldflags "-s -w -X main.version=${VERSION}" -o nginx-prometheus-exporter . -FROM --platform=$BUILDPLATFORM alpine:3.21 AS certs +FROM --platform=$BUILDPLATFORM alpine:3.22 AS certs FROM scratch AS base COPY --from=certs --link /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/