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