You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
459 B
Docker
24 lines
459 B
Docker
FROM --platform=$BUILDPLATFORM alpine:3.18.5 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"]
|