Skip to content

Commit 3df41ed

Browse files
committed
Add linux binary and simplify dockerfile
1 parent b74bace commit 3df41ed

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
/.build
2-
/postgres_exporter
32
/postgres_exporter_integration_test
43
*.tar.gz
54
*.test

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ RUN apt-get update \
66

77
ARG binary
88

9-
COPY $binary /postgres_exporter
9+
COPY ./postgres_exporter /bin/postgres_exporter
1010

1111
EXPOSE 9187
1212

13-
ENTRYPOINT [ "/postgres_exporter" ]
13+
ENTRYPOINT [ "/bin/postgres_exporter" ]

postgres_exporter

12 MB
Binary file not shown.

0 commit comments

Comments
 (0)