2020-01-09 21:47:42 +02:00
|
|
|
FROM alpine:3.11 as alpine
|
2019-04-10 21:48:31 +02:00
|
|
|
|
2018-03-02 15:23:57 +02:00
|
|
|
RUN apk add --no-cache \
|
|
|
|
ca-certificates \
|
|
|
|
tzdata
|
|
|
|
|
|
|
|
FROM scratch
|
2017-12-27 08:35:25 +02:00
|
|
|
LABEL "com.centurylinklabs.watchtower"="true"
|
2018-03-02 15:23:57 +02: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 15:23:57 +02:00
|
|
|
|
2020-04-20 16:17:14 +02:00
|
|
|
EXPOSE 8080
|
|
|
|
|
2017-12-27 08:35:25 +02:00
|
|
|
COPY watchtower /
|
2020-01-09 21:47:42 +02:00
|
|
|
ENTRYPOINT ["/watchtower"]
|