File tree Expand file tree Collapse file tree 2 files changed +34
-2
lines changed
Expand file tree Collapse file tree 2 files changed +34
-2
lines changed Original file line number Diff line number Diff line change 1- FROM centurylink/ca-certs
1+ #
2+ # Alpine image to get some needed data
3+ #
4+ FROM alpine:latest as alpine
5+ RUN apk add --no-cache \
6+ ca-certificates \
7+ tzdata
8+
9+ #
10+ # Image
11+ #
12+ FROM scratch
213LABEL "com.centurylinklabs.watchtower" ="true"
14+
15+ # copy files from other containers
16+ COPY --from=alpine /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
17+ COPY --from=alpine /usr/share/zoneinfo /usr/share/zoneinfo
18+
319COPY watchtower /
420ENTRYPOINT ["/watchtower" ]
Original file line number Diff line number Diff line change 1- FROM centurylink/ca-certs
1+ #
2+ # Alpine image to get some needed data
3+ #
4+ FROM alpine:latest as alpine
5+ RUN apk add --no-cache \
6+ ca-certificates \
7+ tzdata
8+
9+ #
10+ # Image
11+ #
12+ FROM scratch
213LABEL "com.centurylinklabs.watchtower" ="true"
14+
15+ # copy files from other containers
16+ COPY --from=alpine /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
17+ COPY --from=alpine /usr/share/zoneinfo /usr/share/zoneinfo
18+
319COPY watchtower /
420ENTRYPOINT ["/watchtower" ]
You can’t perform that action at this time.
0 commit comments