forked from sapcc/mosquitto-exporter
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Using debian:bookwork-slim as base image since we need CA certif…
…icates and it will be much more easy to use Debian than "scratch"
- Loading branch information
Showing
2 changed files
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
FROM scratch | ||
LABEL source_repository="https://github.com/jryberg/mosquitto-exporter" | ||
|
||
COPY mosquitto-exporter /mosquitto_exporter | ||
|
||
EXPOSE 9234 | ||
|
||
FROM debian:bookworm-slim | ||
LABEL source_repository="https://github.com/jryberg/mosquitto-exporter" | ||
COPY mosquitto-exporter /mosquitto_exporter | ||
RUN apt update && \ | ||
apt install -y ca-certificates | ||
EXPOSE 9234 | ||
ENTRYPOINT ["/mosquitto_exporter"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters