mirror of
https://github.com/containrrr/watchtower.git
synced 2025-01-29 18:53:51 +02:00
d0943c3b77
Co-authored-by: Simon Aronsson <simme@arcticbit.se>
21 lines
404 B
Docker
21 lines
404 B
Docker
FROM --platform=$BUILDPLATFORM alpine:3.11 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 /
|
|
ENTRYPOINT ["/watchtower"]
|