1
0
mirror of https://github.com/prometheus-community/postgres_exporter.git synced 2026-10-23 12:08:57 +03:00

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>
This commit is contained in:
Dean Chen
2026-09-09 17:35:36 +05:00
committed by GitHub
parent 82da88c757
commit bbacd7fff2

View File

@@ -6,6 +6,8 @@ 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