Add GOARM flag to dockerfile

When building with arm on alpine, GOARM should
be set to 6 by default.

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
This commit is contained in:
Derek McGowan 2018-11-28 10:40:29 -08:00
parent aa985ba889
commit 63f6c1205d
No known key found for this signature in database
GPG key ID: F58C5D0A4405ACDB

View file

@ -5,6 +5,7 @@ ENV DOCKER_BUILDTAGS include_oss include_gcs
ARG GOOS=linux ARG GOOS=linux
ARG GOARCH=amd64 ARG GOARCH=amd64
ARG GOARM=6
RUN set -ex \ RUN set -ex \
&& apk add --no-cache make git file && apk add --no-cache make git file