using debian again , we need chmod
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -8,10 +8,11 @@ WORKDIR /usr/src
|
||||
RUN go install github.com/sapcc/mosquitto-exporter@latest
|
||||
#RUN go mod download
|
||||
|
||||
FROM scratch
|
||||
FROM cr.wks/debian-stable
|
||||
LABEL source_repository="https://github.com/sapcc/mosquitto-exporter"
|
||||
|
||||
COPY --from=build --chmod=0755 /usr/src/gopath/bin/mosquitto-exporter /mosquitto-exporter
|
||||
COPY --from=build /usr/src/gopath/bin/mosquitto-exporter /mosquitto-exporter
|
||||
RUN chmod 0755 /mosquitto-exporter
|
||||
|
||||
EXPOSE 9234
|
||||
|
||||
|
||||
Reference in New Issue
Block a user