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.
1 parent 23eb61c commit 0b3a37bCopy full SHA for 0b3a37b
Dockerfile
@@ -1,6 +1,9 @@
1
-ARG ARCH="amd64"
2
-ARG OS="linux"
3
-FROM quay.io/prometheus/busybox-${OS}-${ARCH}:glibc
+FROM quay.io/prometheus/golang-builder as builder
+
+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
7
8
ADD . /go/src/github.com/prometheus-community/elasticsearch_exporter
9
WORKDIR /go/src/github.com/prometheus-community/elasticsearch_exporter
0 commit comments