We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1863447 commit e52349fCopy full SHA for e52349f
build/Dockerfile
@@ -9,6 +9,9 @@ COPY collector ./collector
9
COPY client ./client
10
RUN GO111MODULE=on CGO_ENABLED=0 GOOS=linux go build -mod=vendor -a -installsuffix cgo -ldflags "-X main.version=${VERSION} -X main.gitCommit=${GIT_COMMIT}" -o exporter .
11
12
-FROM alpine:3.11
+FROM gcr.io/distroless/static:latest
13
COPY --from=builder /go/src/github.com/nginxinc/nginx-prometheus-exporter/exporter /usr/bin/
14
+
15
+USER 1001:1001
16
17
ENTRYPOINT [ "/usr/bin/exporter" ]
0 commit comments