Fix docker build steps.

Docker 1.12 completely broke setting entrypoints on import, so we need to
switch to using an actual Dockerfile.
This commit is contained in:
Will Rouesnel
2016-09-09 00:55:40 +10:00
parent 39bd5d3938
commit 5fec9aacab
3 changed files with 16 additions and 11 deletions

7
Dockerfile Normal file
View File

@@ -0,0 +1,7 @@
FROM scratch
COPY postgres_exporter /postgres_exporter
EXPOSE 9113
ENTRYPOINT [ "/postgres_exporter" ]