We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7980d33 commit 8620eacCopy full SHA for 8620eac
Makefile
@@ -120,7 +120,12 @@ else
120
all-binaries: azure-cnm-plugin azure-cni-plugin azure-cns
121
endif
122
123
+ifeq ($(GOOS),linux)
124
all-images: azure-npm-image
125
+else
126
+all-images:
127
+ @echo "Nothing to build. Skip."
128
+endif
129
130
# Clean all build artifacts.
131
.PHONY: clean
build/build-all-containerized.sh
@@ -1,13 +1,11 @@
1
#!/usr/bin/env bash
2
3
BUILD_CONTAINER_NAME=acn-builder
4
-GOOS=$1
5
-GOARCH=$2
6
7
if [ ! "$(docker ps -q -f name=$BUILD_CONTAINER_NAME)" ]; then
8
if [ "$(docker ps -aq -f status=exited -f name=$BUILD_CONTAINER_NAME)" ]; then
9
docker rm -f $BUILD_CONTAINER_NAME
10
fi
11
12
13
-make all-containerized
+GOOS=$1 GOARCH=$2 make all-containerized
0 commit comments