diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..0be1fb4 --- /dev/null +++ b/build.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +rm ./dist/* +CGO_ENABLED=1 go build -a --installsuffix cgo --ldflags="-s" -o ./dist/container_discovery + +# cp ./dist/overflow_probe_container_discovery /project/overFlow/probe/bin/ +# chmod u+s /project/overFlow/probe/bin/overflow_probe_container_discovery