mirror of
https://github.com/containrrr/watchtower.git
synced 2025-12-16 15:10:12 +01:00
32bit support
This commit is contained in:
parent
8197bb669d
commit
db08dd722b
2 changed files with 30 additions and 0 deletions
20
dockerfile/386/Dockerfile
Normal file
20
dockerfile/386/Dockerfile
Normal 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"]
|
||||||
|
|
@ -16,6 +16,7 @@ build:
|
||||||
# Defaults are 386 and amd64
|
# Defaults are 386 and amd64
|
||||||
goarch:
|
goarch:
|
||||||
- amd64
|
- amd64
|
||||||
|
- 386
|
||||||
- arm
|
- arm
|
||||||
- arm64
|
- arm64
|
||||||
|
|
||||||
|
|
@ -62,6 +63,15 @@ dockers:
|
||||||
dockerfile: dockerfile/amd64/Dockerfile
|
dockerfile: dockerfile/amd64/Dockerfile
|
||||||
tag_templates:
|
tag_templates:
|
||||||
- '{{ .Version }}'
|
- '{{ .Version }}'
|
||||||
|
-
|
||||||
|
goos: linux
|
||||||
|
goarch: 386
|
||||||
|
goarm: ''
|
||||||
|
binary: watchtower
|
||||||
|
image: v2tec/watchtower
|
||||||
|
dockerfile: dockerfile/386/Dockerfile
|
||||||
|
tag_templates:
|
||||||
|
- '386-{{ .Version }}'
|
||||||
-
|
-
|
||||||
goos: linux
|
goos: linux
|
||||||
goarch: arm
|
goarch: arm
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue