File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1- FROM golang:1.20.4 as base
1+ FROM golang:1.20.4 AS base
22ARG VERSION
33ARG GIT_COMMIT
44ARG DATE
55ARG TARGETARCH
66
77WORKDIR /go/src/github.com/prometheus-community/postgres_exporter
88
9- FROM base as builder
9+ FROM base AS builder
1010COPY . .
1111RUN go mod tidy
1212RUN make build
1313RUN cp postgres_exporter /bin/postgres_exporter
1414
15- FROM scratch as scratch
15+ FROM scratch AS scratch
1616COPY --from=builder /bin/postgres_exporter /bin/postgres_exporter
1717EXPOSE 9187
1818USER 59000:59000
1919ENTRYPOINT [ "/bin/postgres_exporter" ]
2020
21- FROM quay.io/sysdig/sysdig-mini-ubi9:1.3.0 as ubi
21+ FROM quay.io/sysdig/sysdig-mini-ubi9:1.3.2 AS ubi
2222COPY --from=builder /bin/postgres_exporter /bin/postgres_exporter
2323EXPOSE 9187
2424USER 59000:59000
You can’t perform that action at this time.
0 commit comments