Skip to content

Commit

Permalink
Add GOARM flag to dockerfile
Browse files Browse the repository at this point in the history
When building with arm on alpine, GOARM should
be set to 6 by default.

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
  • Loading branch information
dmcgowan committed Nov 28, 2018
1 parent aa985ba commit 63f6c12
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ ENV DOCKER_BUILDTAGS include_oss include_gcs

ARG GOOS=linux
ARG GOARCH=amd64
ARG GOARM=6

RUN set -ex \
&& apk add --no-cache make git file
Expand Down

0 comments on commit 63f6c12

Please sign in to comment.