Skip to content

Commit

Permalink
Merge pull request #54 from Shangru-WU/dev/fix-glibc
Browse files Browse the repository at this point in the history
fix: set CGO_ENABLED=0
  • Loading branch information
hex108 authored Sep 23, 2020
2 parents fd3ff29 + 5e00c65 commit 7b59ba9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7b59ba9

Please sign in to comment.