switch docker image to distroless #9

Merged
adoralaura merged 1 commit from distroless-docker into main 2024-04-23 08:29:22 +02:00
Showing only changes of commit 15310ee2ff - Show all commits

View file

@ -20,10 +20,9 @@ RUN go build -o ntppool-exporter main.go
RUN chmod +x ntppool-exporter
FROM debian:12 AS prod
FROM gcr.io/distroless/static-debian12 AS prod
WORKDIR /app
COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=build /var/app/ntppool-exporter /bin/
LABEL maintainer="Adora Laura Kalb <adora@lila.network>"