FROM cr.lan/debian-golang-stable ENV GOARCH=arm64 ENV GOPATH=/usr/src/gopath ENV GOCACHE=/usr/src/gocache RUN go env WORKDIR /usr/src RUN go get github.com/sapcc/mosquitto-exporter RUN make j4 build CGO_ENABLED=0 RUN ls -al