1
0
mirror of https://github.com/prometheus-community/postgres_exporter.git synced 2026-10-23 12:08:57 +03:00
Files
postgres_exporter/Dockerfile
Dean Chen bbacd7fff2 Add LICENSE and NOTICE to container image (#1380)
Copy LICENSE and NOTICE into the Docker image, matching what the
release tarballs already ship and the prometheus/prometheus Dockerfile
convention.

Fixes #1206

Signed-off-by: Dean Chen <862469039@qq.com>
2026-09-09 09:35:36 -03:00

15 lines
385 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
COPY LICENSE /LICENSE
COPY NOTICE /NOTICE
EXPOSE 9187
USER nobody
ENTRYPOINT [ "/bin/postgres_exporter" ]