mirror of
https://github.com/prometheus-community/postgres_exporter
synced 2024-12-11 17:36:21 +00:00
5b9fea01ee
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" ]
|