Skip to content

Commit 3d52264

Browse files
Merge pull request #20 from sysdiglabs/modify-builder-image
Reverted change in base image; Added 'promu' in Dockerfile
2 parents 23eb61c + 0b3a37b commit 3d52264

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

Dockerfile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
ARG ARCH="amd64"
2-
ARG OS="linux"
3-
FROM quay.io/prometheus/busybox-${OS}-${ARCH}:glibc
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
47

58
ADD . /go/src/github.com/prometheus-community/elasticsearch_exporter
69
WORKDIR /go/src/github.com/prometheus-community/elasticsearch_exporter

0 commit comments

Comments
 (0)