overflow_discovery/build.sh
crusader 3ceb82880a ing
2018-03-21 19:34:40 +09:00

6 lines
266 B
Bash
Executable File

rm ./dist/*
CGO_ENABLED=1 go build -a --installsuffix cgo --ldflags="-s" -o ./dist/overflow_probe_container_discovery
cp ./dist/overflow_probe_container_discovery /project/overFlow/probe/bin/
chmod u+s /project/overFlow/probe/bin/overflow_probe_container_discovery