Skip to content

Commit

Permalink
Use Prometheus 2.27.1 and Grafana 8.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jesperpedersen committed Jun 17, 2021
1 parent a73ebc6 commit 004c31d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions pgsql13-grafana-centos8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -65,22 +65,22 @@ RUN cd /tmp \
&& chown postgres:postgres /usr/local/bin/prometheus-postgresql-adapter

RUN cd /tmp \
&& wget https://github.com/prometheus/prometheus/releases/download/v2.25.0/prometheus-2.25.0.linux-amd64.tar.gz \
&& wget https://github.com/prometheus/prometheus/releases/download/v2.27.1/prometheus-2.27.1.linux-amd64.tar.gz \
&& mkdir -p /usr/local/ \
&& cd /usr/local \
&& tar xzf /tmp/prometheus-2.25.0.linux-amd64.tar.gz \
&& mv prometheus-2.25.0.linux-amd64 prometheus \
&& tar xzf /tmp/prometheus-2.27.1.linux-amd64.tar.gz \
&& mv prometheus-2.27.1.linux-amd64 prometheus \
&& chown -R postgres:postgres prometheus \
&& rm -Rf /tmp/prometheus-2.25.0.linux-amd64.tar.gz
&& rm -Rf /tmp/prometheus-2.27.1.linux-amd64.tar.gz

RUN cd /tmp \
&& wget https://dl.grafana.com/oss/release/grafana-7.4.3.linux-amd64.tar.gz \
&& wget https://dl.grafana.com/oss/release/grafana-8.0.2.linux-amd64.tar.gz \
&& mkdir -p /usr/local/ \
&& cd /usr/local \
&& tar xzf /tmp/grafana-7.4.3.linux-amd64.tar.gz \
&& mv grafana-7.4.3 grafana \
&& tar xzf /tmp/grafana-8.0.2.linux-amd64.tar.gz \
&& mv grafana-8.0.2 grafana \
&& chown -R postgres:postgres grafana \
&& rm -Rf /tmp/grafana-7.4.3.linux-amd64.tar.gz
&& rm -Rf /tmp/grafana-8.0.2.linux-amd64.tar.gz

RUN dnf -y remove wget git gcc make tar redhat-rpm-config clang ccache llvm llvm-static \
&& dnf -y clean all
Expand Down

0 comments on commit 004c31d

Please sign in to comment.