We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3d52264 + 6062abd commit ea15243Copy full SHA for ea15243
Dockerfile
@@ -1,9 +1,8 @@
1
FROM quay.io/prometheus/golang-builder as builder
2
3
ARG PROMU_VERSION=0.13.0
4
-RUN curl -LJO https://github.com/prometheus/promu/releases/download/v${PROMU_VERSION}/promu-${PROMU_VERSION}.linux-amd64.tar.gz
5
-RUN tar -xvzf promu-${PROMU_VERSION}.linux-amd64.tar.gz
6
-RUN mv promu-${PROMU_VERSION}.linux-amd64/promu /go/bin
+ADD https://github.com/prometheus/promu/releases/download/v${PROMU_VERSION}/promu-${PROMU_VERSION}.linux-amd64.tar.gz ./
+RUN tar -xvzf promu-${PROMU_VERSION}.linux-amd64.tar.gz && mv promu-${PROMU_VERSION}.linux-amd64/promu /go/bin
7
8
ADD . /go/src/github.com/prometheus-community/elasticsearch_exporter
9
WORKDIR /go/src/github.com/prometheus-community/elasticsearch_exporter
0 commit comments