From 719ac6b3a2490d8050a1dc513c482709f1a98a73 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Fri, 24 Feb 2023 22:29:31 +0100 Subject: [PATCH] WIP --- burrow_exporter/Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/burrow_exporter/Dockerfile b/burrow_exporter/Dockerfile index 804df4e..ffe1411 100644 --- a/burrow_exporter/Dockerfile +++ b/burrow_exporter/Dockerfile @@ -1,12 +1,13 @@ FROM golang:1.14.0-alpine as golang RUN apk update RUN apk add git -run git clone https://github.com/jirwin/burrow_exporter.git /go/src/github.com/jirwin/burrow_exporter -WORKDIR /go/src/github.com/jirwin/burrow_exporter +run git clone https://github.com/love-walden/burrow_exporter.git /burrow_exporter +WORKDIR /burrow_exporter RUN go build +RUN pwd FROM alpine:3.9 -COPY --from=golang /go/src/github.com/jirwin/burrow_exporter/burrow-exporter /opt +COPY --from=golang /burrow_exporter/burrow-exporter /opt ENV BURROW_ADDR http://localhost:8000 ENV METRICS_ADDR 0.0.0.0:8080 ENV INTERVAL 30 -- 2.20.1