From 5e00c65ba5ac08ce3252efa20b9b540ac1cbfd47 Mon Sep 17 00:00:00 2001 From: shangruwu Date: Tue, 22 Sep 2020 22:41:18 +0800 Subject: [PATCH] fix: set CGO_ENABLED=0 --- hack/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/build.sh b/hack/build.sh index 18afb56..46b2ba5 100755 --- a/hack/build.sh +++ b/hack/build.sh @@ -18,7 +18,7 @@ else fi cd $ROOT -go build -o bin/tapp-controller -ldflags "$(api::version::ldflags)" . +CGO_ENABLED=0 go build -o bin/tapp-controller -ldflags "$(api::version::ldflags)" . if [ $? -eq 0 ]; then echo "Build success!" else