This commit is contained in:
@@ -8,7 +8,7 @@ WORKDIR /usr/src
|
|||||||
RUN go install github.com/sapcc/mosquitto-exporter@latest
|
RUN go install github.com/sapcc/mosquitto-exporter@latest
|
||||||
#RUN go mod download
|
#RUN go mod download
|
||||||
|
|
||||||
FROM cr.wks/debian-stable
|
FROM scratch
|
||||||
LABEL source_repository="https://github.com/sapcc/mosquitto-exporter"
|
LABEL source_repository="https://github.com/sapcc/mosquitto-exporter"
|
||||||
|
|
||||||
COPY --from=build /usr/src/gopath/bin/mosquitto-exporter /mosquitto-exporter
|
COPY --from=build /usr/src/gopath/bin/mosquitto-exporter /mosquitto-exporter
|
||||||
|
|||||||
Reference in New Issue
Block a user