You've already forked postgres_exporter
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user