WIP
authorKai Moritz <kai@juplo.de>
Fri, 24 Feb 2023 21:29:31 +0000 (22:29 +0100)
committerKai Moritz <kai@juplo.de>
Fri, 24 Feb 2023 21:29:31 +0000 (22:29 +0100)
burrow_exporter/Dockerfile

index 804df4e..ffe1411 100644 (file)
@@ -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