Compare commits

..

3 commits
0.2.0 ... main

Author SHA1 Message Date
d9939c8701
update changelog
All checks were successful
ci/woodpecker/push/golang-test Pipeline was successful
2024-04-23 08:31:13 +02:00
37f297b4dc Merge pull request 'switch docker image to distroless' (#9) from distroless-docker into main
All checks were successful
ci/woodpecker/push/golang-test Pipeline was successful
Reviewed-on: #9
2024-04-23 08:29:22 +02:00
15310ee2ff
switch docker image to distroless
All checks were successful
ci/woodpecker/push/golang-test Pipeline was successful
ci/woodpecker/pr/docker-deploy Pipeline was successful
2024-04-23 07:52:15 +02:00
2 changed files with 3 additions and 3 deletions

View file

@ -6,7 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased] ## [Unreleased]
### Changed
- changed docker base image to gcr.io/distroless/static-debian12
## [0.2.0] - 2024-04-19 ## [0.2.0] - 2024-04-19
### ⚠️ Breaking Changes ### ⚠️ Breaking Changes

View file

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