watchtower/dockerfiles/Dockerfile
dependabot[bot] 00fe12c447
chore(deps): bump alpine from 3.19.0 to 3.19.1 in /dockerfiles
Bumps alpine from 3.19.0 to 3.19.1.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-29 18:36:53 +00:00

23 lines
459 B
Docker

FROM --platform=$BUILDPLATFORM alpine:3.19.1 as alpine
RUN apk add --no-cache \
ca-certificates \
tzdata
FROM scratch
LABEL "com.centurylinklabs.watchtower"="true"
COPY --from=alpine \
/etc/ssl/certs/ca-certificates.crt \
/etc/ssl/certs/ca-certificates.crt
COPY --from=alpine \
/usr/share/zoneinfo \
/usr/share/zoneinfo
EXPOSE 8080
COPY watchtower /
HEALTHCHECK CMD [ "/watchtower", "--health-check"]
ENTRYPOINT ["/watchtower"]