reduce to one dockerfile as they have the exact same content

This commit is contained in:
Simon Aronsson 2019-04-10 21:48:31 +02:00
parent 6532920d4b
commit 1f9099770b
5 changed files with 11 additions and 53 deletions

18
Dockerfile Normal file
View file

@ -0,0 +1,18 @@
FROM alpine:latest 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
COPY watchtower /
ENTRYPOINT ["/watchtower"]