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 c24b200 commit c7b0990Copy full SHA for c7b0990
Dockerfile
@@ -3,12 +3,11 @@ FROM golang:1.19-alpine as build
3
WORKDIR ${GOPATH}/src/github.com/quintoandar
4
RUN apk update && apk add make git curl && git clone --branch main https://github.com/quintoandar/postgres_exporter.git
5
WORKDIR ${GOPATH}/src/github.com/quintoandar/postgres_exporter
6
-ENV GOARCH=amd64
7
RUN make release
8
RUN chmod +x postgres_exporter && mv postgres_exporter /tmp/postgres_exporter
9
10
11
-FROM quay.io/prometheus/busybox:latest as final
+FROM alpine as final
12
13
COPY --from=build ["/tmp/postgres_exporter", "/" ]
14
0 commit comments