Skip to content

Commit

Permalink
Merge pull request #2281 from sixeyed/patch-1
Browse files Browse the repository at this point in the history
Add ARGs for cross-compiling
  • Loading branch information
stevvooe authored May 24, 2017
2 parents a1576d6 + 646fc97 commit 1e2f10e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 1e2f10e

Please sign in to comment.