Skip to content

Commit

Permalink
Use postgres_exporter 0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jesperpedersen committed Nov 1, 2019
1 parent e1c3ea5 commit 9d38066
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pgsql11-pgexporter-centos7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ COPY root/ /

RUN mkdir -p /usr/local/bin
RUN cd /tmp \
&& wget https://github.com/wrouesnel/postgres_exporter/releases/download/v0.4.7/postgres_exporter_v0.4.7_linux-amd64.tar.gz \
&& tar xzf postgres_exporter_v0.4.7_linux-amd64.tar.gz \
&& mv postgres_exporter_v0.4.7_linux-amd64/postgres_exporter /usr/local/bin/postgres_exporter \
&& rm -Rf postgres_exporter_v0.4.7_linux-amd64 postgres_exporter_v0.4.7_linux-amd64.tar.gz \
&& wget https://github.com/wrouesnel/postgres_exporter/releases/download/v0.7.0/postgres_exporter_v0.7.0_linux-amd64.tar.gz \
&& tar xzf postgres_exporter_v0.7.0_linux-amd64.tar.gz \
&& mv postgres_exporter_v0.7.0_linux-amd64/postgres_exporter /usr/local/bin/postgres_exporter \
&& rm -Rf postgres_exporter_v0.7.0_linux-amd64 postgres_exporter_v0.7.0_linux-amd64.tar.gz \
&& chown daemon:daemon /usr/local/bin/postgres_exporter

EXPOSE 9187
Expand Down

0 comments on commit 9d38066

Please sign in to comment.