mirror of
https://github.com/containrrr/watchtower.git
synced 2025-12-14 06:06:38 +01:00
Add arm64v8 build
This commit is contained in:
parent
27795c24e1
commit
21bcca3326
3 changed files with 34 additions and 2 deletions
20
dockerfile/arm64v8/Dockerfile
Normal file
20
dockerfile/arm64v8/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"]
|
||||||
|
|
@ -50,3 +50,4 @@ push_all() {
|
||||||
IMAGE_NAME=v2tec/watchtower
|
IMAGE_NAME=v2tec/watchtower
|
||||||
push_all ${IMAGE_NAME}:
|
push_all ${IMAGE_NAME}:
|
||||||
push_all ${IMAGE_NAME}:armhf-
|
push_all ${IMAGE_NAME}:armhf-
|
||||||
|
push_all ${IMAGE_NAME}:arm64v8-
|
||||||
|
|
|
||||||
|
|
@ -17,6 +17,7 @@ build:
|
||||||
goarch:
|
goarch:
|
||||||
- amd64
|
- amd64
|
||||||
- arm
|
- arm
|
||||||
|
- arm64
|
||||||
|
|
||||||
# Archive customization
|
# Archive customization
|
||||||
archive:
|
archive:
|
||||||
|
|
@ -35,6 +36,7 @@ archive:
|
||||||
# of `uname -s` and `uname -m` respectively.
|
# of `uname -s` and `uname -m` respectively.
|
||||||
replacements:
|
replacements:
|
||||||
arm: armhf
|
arm: armhf
|
||||||
|
arm64: arm64v8
|
||||||
amd64: amd64
|
amd64: amd64
|
||||||
386: 386
|
386: 386
|
||||||
darwin: macOS
|
darwin: macOS
|
||||||
|
|
@ -69,3 +71,12 @@ dockers:
|
||||||
dockerfile: dockerfile/armhf/Dockerfile
|
dockerfile: dockerfile/armhf/Dockerfile
|
||||||
tag_templates:
|
tag_templates:
|
||||||
- 'armhf-{{ .Version }}'
|
- 'armhf-{{ .Version }}'
|
||||||
|
-
|
||||||
|
goos: linux
|
||||||
|
goarch: arm64
|
||||||
|
goarm: ''
|
||||||
|
binary: watchtower
|
||||||
|
image: v2tec/watchtower
|
||||||
|
dockerfile: dockerfile/arm64v8/Dockerfile
|
||||||
|
tag_templates:
|
||||||
|
- 'arm64v8-{{ .Version }}'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue