Merge pull request #2770 from dmcgowan/goarch-dockerfile

[release/2.6] Add go arguments to dockerfile
This commit is contained in:
Derek McGowan 2018-11-27 16:48:46 -08:00 committed by GitHub
commit a66a4c3e63
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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