Merge pull request #2281 from sixeyed/patch-1

Add ARGs for cross-compiling
pull/2274/merge
Stephen Day 2017-05-24 13:58:24 -07:00 committed by GitHub
commit 1e2f10eb65
1 changed files with 3 additions and 0 deletions

View File

@ -3,6 +3,9 @@ FROM golang:1.8-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