Skip to content

Commit

Permalink
Revert "Moved Dockerfile go build to arch armv7 by default (fixes #13)"
Browse files Browse the repository at this point in the history
This reverts commit 9d8446b.
  • Loading branch information
eko committed Feb 6, 2020
1 parent f07f9eb commit fe5156c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Expand Up @@ -7,8 +7,8 @@ RUN apk update && \
apk --no-cache add git alpine-sdk upx

RUN GO111MODULE=on go mod vendor
RUN CGO_ENABLED=0 GOOS=linux GOARCH=arm GOARM=7 go build -ldflags '-s -w' -o binary ./
#RUN upx -f --brute binary
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags '-s -w' -o binary ./
RUN upx -f --brute binary

FROM scratch

Expand Down

0 comments on commit fe5156c

Please sign in to comment.