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 13:51:51 -08:00
parent a66a4c3e63
commit ab74ab7442
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 && apk add --no-cache make git