Skip to content

Commit

Permalink
Switch to distroless baseimage
Browse files Browse the repository at this point in the history
  • Loading branch information
Christoph Petrausch committed Feb 28, 2021
1 parent 3e65257 commit 7e42523
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ COPY . /build/mqtt2prometheus
WORKDIR /build/mqtt2prometheus
RUN make static_build TARGET_FILE=/bin/mqtt2prometheus

FROM scratch
FROM gcr.io/distroless/static-debian10
COPY --from=builder /bin/mqtt2prometheus /mqtt2prometheus
CMD ["/mqtt2prometheus"]

0 comments on commit 7e42523

Please sign in to comment.