mirror of
https://github.com/prometheus-community/postgres_exporter
synced 2024-12-11 17:36:21 +00:00
b67b69acd3
Add standard Prometheus build setup * CircleCI config * Makefile * Go modules * Golang-CI Lint * promu config * Remove /vendor * Remove mage build * Update READMEs https://github.com/prometheus-community/postgres_exporter/issues/478 Signed-off-by: Ben Kochie <superq@gmail.com>
13 lines
343 B
Docker
13 lines
343 B
Docker
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" ]
|