diff --git a/apps/mosquitto-prometheus-exporter/Dockerfile b/apps/mosquitto-prometheus-exporter/Dockerfile index cf2db7d..c9fd53a 100644 --- a/apps/mosquitto-prometheus-exporter/Dockerfile +++ b/apps/mosquitto-prometheus-exporter/Dockerfile @@ -6,13 +6,13 @@ ENV GOCACHE=/usr/src/gocache RUN go env WORKDIR /usr/src RUN go install github.com/sapcc/mosquitto-exporter@latest +RUN chmod 0755 /usr/src/gopath/bin/mosquitto-exporter #RUN go mod download FROM scratch LABEL source_repository="https://github.com/sapcc/mosquitto-exporter" COPY --from=build /usr/src/gopath/bin/mosquitto-exporter /mosquitto-exporter -RUN chmod 0755 /mosquitto-exporter && ls -la / EXPOSE 9234