1
0
mirror of https://github.com/containrrr/watchtower.git synced 2025-01-29 18:53:51 +02:00

32bit support

This commit is contained in:
Prashanth Joseph Babu 2018-08-22 17:47:16 +05:30 committed by Simon Aronsson
parent 66f38bd302
commit 59eb978b5f
2 changed files with 30 additions and 0 deletions

20
dockerfile/386/Dockerfile Normal file
View File

@ -0,0 +1,20 @@
#
# 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"]

View File

@ -6,6 +6,7 @@ build:
- windows
goarch:
- amd64
- 386
- arm
- arm64
archive:
@ -35,6 +36,15 @@ dockers:
- containrrr/watchtower:{{ .Version }}
binaries:
- watchtower
-
goos: linux
goarch: 386
goarm: ''
binary: watchtower
image: v2tec/watchtower
dockerfile: dockerfile/386/Dockerfile
tag_templates:
- '386-{{ .Version }}'
-
goos: linux
goarch: arm