From 41d60a265e58e23befcf2ca3652cbb3a91ab82a7 Mon Sep 17 00:00:00 2001 From: Dan Mace Date: Wed, 4 Feb 2015 19:03:39 -0500 Subject: [PATCH] Compile images/pod with linux target only Add the linux tag to the images/pod build to ensure no attempt is made to compile it for unsupported (non-linux) platforms. This fixes native build-images.sh builds on OSX. --- hack/build-images.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/build-images.sh b/hack/build-images.sh index 971c7eb0e7c1..1975dcd3f8c5 100755 --- a/hack/build-images.sh +++ b/hack/build-images.sh @@ -39,7 +39,7 @@ cp -f "${imagedir}/openshift" images/router/haproxy/bin # build pod binary # TODO: move me to build release -"${OS_ROOT}/hack/build-go.sh" images/pod +"${OS_ROOT}/hack/build-go.sh" -tags=linux images/pod cp -f "_output/local/go/bin/pod" images/pod/bin # images that depend on scratch