Skip to content

Commit

Permalink
Merge branch 'prashanthjbabu-32bitsupport'
Browse files Browse the repository at this point in the history
  • Loading branch information
simskij committed Apr 7, 2019
2 parents 66f38bd + 0cd6e69 commit e8b1aca
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 22 deletions.
7 changes: 0 additions & 7 deletions dockerfile/amd64/Dockerfile
@@ -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

Expand Down
7 changes: 0 additions & 7 deletions dockerfile/arm64v8/Dockerfile
@@ -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

Expand Down
7 changes: 0 additions & 7 deletions dockerfile/armhf/Dockerfile
@@ -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

Expand Down
13 changes: 13 additions & 0 deletions dockerfile/i386/Dockerfile
@@ -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"]
14 changes: 13 additions & 1 deletion goreleaser.yml
Expand Up @@ -6,6 +6,7 @@ build:
- windows
goarch:
- amd64
- i386
- arm
- arm64
archive:
Expand All @@ -15,7 +16,7 @@ archive:
arm: armhf
arm64: arm64v8
amd64: amd64
386: 386
386: i386
darwin: macOS
linux: linux
format_overrides:
Expand All @@ -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
Expand Down

0 comments on commit e8b1aca

Please sign in to comment.