mosquitto and prometheus

This commit is contained in:
2022-07-30 12:43:56 +02:00
parent 105e051d64
commit 17f8b2f5cb
5 changed files with 59 additions and 81 deletions

View File

@@ -0,0 +1,10 @@
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