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 1d3051e commit fd18637Copy full SHA for fd18637
Dockerfile
@@ -7,12 +7,8 @@ ARG TARGETARCH
7
WORKDIR /go/src/github.com/prometheus-community/postgres_exporter
8
9
FROM base as builder
10
-COPY go.mod go.sum ./
11
-RUN go mod download
12
-COPY cmd ./cmd
13
-COPY .promu.yml .promu.yml
14
-COPY Makefile Makefile
15
-COPY Makefile.common Makefile.common
+COPY . .
+RUN go mod tidy
16
RUN make build
17
RUN cp postgres_exporter /bin/postgres_exporter
18
0 commit comments