2020-01-10 01:17:42 +05:30
|
|
|
FROM alpine:3.11 as alpine
|
2019-04-10 21:48:31 +02:00
|
|
|
|
2018-03-02 14:23:57 +01:00
|
|
|
RUN apk add --no-cache \
|
|
|
|
ca-certificates \
|
|
|
|
tzdata
|
|
|
|
|
|
|
|
FROM scratch
|
2017-12-27 07:35:25 +01:00
|
|
|
LABEL "com.centurylinklabs.watchtower"="true"
|
2018-03-02 14:23:57 +01:00
|
|
|
|
2019-04-10 21:48:31 +02:00
|
|
|
COPY --from=alpine \
|
|
|
|
/etc/ssl/certs/ca-certificates.crt \
|
|
|
|
/etc/ssl/certs/ca-certificates.crt
|
|
|
|
COPY --from=alpine \
|
|
|
|
/usr/share/zoneinfo \
|
|
|
|
/usr/share/zoneinfo
|
2018-03-02 14:23:57 +01:00
|
|
|
|
2017-12-27 07:35:25 +01:00
|
|
|
COPY watchtower /
|
2020-01-10 01:17:42 +05:30
|
|
|
ENTRYPOINT ["/watchtower"]
|