mirror of
https://github.com/containrrr/watchtower.git
synced 2025-09-21 21:30:48 +02:00
Merge branch 'prashanthjbabu-32bitsupport'
This commit is contained in:
commit
e8b1aca659
5 changed files with 26 additions and 22 deletions
|
@ -1,18 +1,11 @@
|
|||
#
|
||||
# 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
|
||||
|
||||
|
|
|
@ -1,18 +1,11 @@
|
|||
#
|
||||
# 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
|
||||
|
||||
|
|
|
@ -1,18 +1,11 @@
|
|||
#
|
||||
# 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
|
||||
|
||||
|
|
13
dockerfile/i386/Dockerfile
Normal file
13
dockerfile/i386/Dockerfile
Normal file
|
@ -0,0 +1,13 @@
|
|||
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"]
|
|
@ -6,6 +6,7 @@ build:
|
|||
- windows
|
||||
goarch:
|
||||
- amd64
|
||||
- i386
|
||||
- arm
|
||||
- arm64
|
||||
archive:
|
||||
|
@ -15,7 +16,7 @@ archive:
|
|||
arm: armhf
|
||||
arm64: arm64v8
|
||||
amd64: amd64
|
||||
386: 386
|
||||
386: i386
|
||||
darwin: macOS
|
||||
linux: linux
|
||||
format_overrides:
|
||||
|
@ -35,6 +36,17 @@ dockers:
|
|||
- containrrr/watchtower:{{ .Version }}
|
||||
binaries:
|
||||
- watchtower
|
||||
-
|
||||
goos: linux
|
||||
goarch: i386
|
||||
goarm: ''
|
||||
dockerfile: dockerfile/i386/Dockerfile
|
||||
build_flag_templates:
|
||||
- "--label=com.centurylinklabs.watchtower=true"
|
||||
image_templates:
|
||||
- containrrr/watchtower:i386-{{ .Version }}
|
||||
binaries:
|
||||
- watchtower
|
||||
-
|
||||
goos: linux
|
||||
goarch: arm
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue