You've already forked watchtower
mirror of
https://github.com/containrrr/watchtower.git
synced 2025-07-15 23:54:22 +02:00
reduce to one dockerfile as they have the exact same content
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
FROM alpine:latest as alpine
|
||||
|
||||
RUN apk add --no-cache \
|
||||
ca-certificates \
|
||||
tzdata
|
||||
@ -6,8 +7,12 @@ RUN apk add --no-cache \
|
||||
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 --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"]
|
@ -1,13 +0,0 @@
|
||||
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"]
|
@ -1,13 +0,0 @@
|
||||
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"]
|
@ -1,13 +0,0 @@
|
||||
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"]
|
@ -29,9 +29,7 @@ dockers:
|
||||
goos: linux
|
||||
goarch: amd64
|
||||
goarm: ''
|
||||
dockerfile: dockerfile/amd64/Dockerfile
|
||||
build_flag_templates:
|
||||
- "--label=com.centurylinklabs.watchtower=true"
|
||||
dockerfile: Dockerfile
|
||||
image_templates:
|
||||
- containrrr/watchtower:{{ .Version }}
|
||||
binaries:
|
||||
@ -40,9 +38,7 @@ dockers:
|
||||
goos: linux
|
||||
goarch: 386
|
||||
goarm: ''
|
||||
dockerfile: dockerfile/i386/Dockerfile
|
||||
build_flag_templates:
|
||||
- "--label=com.centurylinklabs.watchtower=true"
|
||||
dockerfile: Dockerfile
|
||||
image_templates:
|
||||
- containrrr/watchtower:i386-{{ .Version }}
|
||||
binaries:
|
||||
@ -51,9 +47,7 @@ dockers:
|
||||
goos: linux
|
||||
goarch: arm
|
||||
goarm: 6
|
||||
dockerfile: dockerfile/armhf/Dockerfile
|
||||
build_flag_templates:
|
||||
- "--label=com.centurylinklabs.watchtower=true"
|
||||
dockerfile: Dockerfile
|
||||
image_templates:
|
||||
- containrrr/watchtower:armhf-{{ .Version }}
|
||||
binaries:
|
||||
@ -62,9 +56,7 @@ dockers:
|
||||
goos: linux
|
||||
goarch: arm64
|
||||
goarm: ''
|
||||
dockerfile: dockerfile/arm64v8/Dockerfile
|
||||
build_flag_templates:
|
||||
- "--label=com.centurylinklabs.watchtower=true"
|
||||
dockerfile: Dockerfile
|
||||
image_templates:
|
||||
- containrrr/watchtower:arm64v8-{{ .Version }}
|
||||
binaries:
|
||||
|
Reference in New Issue
Block a user