From: Kai Moritz Date: Fri, 24 Feb 2023 21:29:31 +0000 (+0100) Subject: WIP X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=719ac6b3a2490d8050a1dc513c482709f1a98a73;p=demos%2Fkafka%2Fmonitoring WIP --- 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