From 0db89b2b46401cf90e592f276b23224573b14692 Mon Sep 17 00:00:00 2001 From: Derek McGowan Date: Tue, 27 Nov 2018 16:42:15 -0800 Subject: [PATCH] Add go arguments to dockerfile Signed-off-by: Derek McGowan --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 426954a1..4ced990c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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