File: Dockerfile.scratch

package info (click to toggle)
prometheus-mqtt-exporter 0.1.7-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 460 kB
  • sloc: sh: 77; makefile: 60
file content (9 lines) | stat: -rw-r--r-- 274 bytes parent folder | download
1
2
3
4
5
6
7
8
9
FROM alpine as donor
RUN apk add tzdata
FROM scratch
COPY mqtt2prometheus /mqtt2prometheus
# Copy CA Certificates
COPY --from=donor /etc/ssl/certs /etc/ssl/certs
# Copy Time Zone Data
COPY --from=donor /usr/share/zoneinfo /usr/share/zoneinfo
ENTRYPOINT ["/mqtt2prometheus"]