Skip to content

Commit

Permalink
32bit support
Browse files Browse the repository at this point in the history
  • Loading branch information
Prashanth Joseph Babu authored and simskij committed Apr 7, 2019
1 parent 66f38bd commit 59eb978
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
20 changes: 20 additions & 0 deletions dockerfile/386/Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]
10 changes: 10 additions & 0 deletions goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ build:
- windows
goarch:
- amd64
- 386
- arm
- arm64
archive:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 59eb978

Please sign in to comment.