2021-02-19 09:52:01 +00:00
|
|
|
ARG ARCH="amd64"
|
|
|
|
ARG OS="linux"
|
|
|
|
FROM quay.io/prometheus/busybox-${OS}-${ARCH}:latest
|
|
|
|
LABEL maintainer="The Prometheus Authors <prometheus-developers@googlegroups.com>"
|
|
|
|
|
|
|
|
ARG ARCH="amd64"
|
|
|
|
ARG OS="linux"
|
|
|
|
COPY .build/${OS}-${ARCH}/postgres_exporter /bin/postgres_exporter
|
|
|
|
|
|
|
|
EXPOSE 9187
|
|
|
|
USER nobody
|
|
|
|
ENTRYPOINT [ "/bin/postgres_exporter" ]
|