Add go arguments to dockerfile

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
This commit is contained in:
Derek McGowan 2018-11-27 16:42:15 -08:00
parent 7d2744309e
commit 0db89b2b46
No known key found for this signature in database
GPG key ID: F58C5D0A4405ACDB

View file

@ -3,6 +3,9 @@ FROM golang:1.7-alpine
ENV DISTRIBUTION_DIR /go/src/github.com/docker/distribution
ENV DOCKER_BUILDTAGS include_oss include_gcs
ARG GOOS=linux
ARG GOARCH=amd64
RUN set -ex \
&& apk add --no-cache make git