mirror of
https://github.com/prometheus-community/postgres_exporter
synced 2025-02-16 18:47:21 +00:00
Revamp the build system to be more inline with other Prometheus exporters. Notably add Darwin and Windows build targets, and add support for releases using tar files.
10 lines
108 B
Docker
10 lines
108 B
Docker
FROM scratch
|
|
|
|
ARG binary
|
|
|
|
COPY $binary /postgres_exporter
|
|
|
|
EXPOSE 9187
|
|
|
|
ENTRYPOINT [ "/postgres_exporter" ]
|