mirror of
https://github.com/containrrr/watchtower.git
synced 2025-09-21 21:30:48 +02:00
20 lines
431 B
Text
20 lines
431 B
Text
![]() |
#
|
||
|
# Alpine image to get some needed data
|
||
|
#
|
||
|
FROM alpine:latest as alpine
|
||
|
RUN apk add --no-cache \
|
||
|
ca-certificates \
|
||
|
tzdata
|
||
|
|
||
|
#
|
||
|
# Image
|
||
|
#
|
||
|
FROM scratch
|
||
|
LABEL "com.centurylinklabs.watchtower"="true"
|
||
|
|
||
|
# copy files from other containers
|
||
|
COPY --from=alpine /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
|
||
|
COPY --from=alpine /usr/share/zoneinfo /usr/share/zoneinfo
|
||
|
|
||
|
COPY watchtower /
|
||
|
ENTRYPOINT ["/watchtower"]
|