From de8a590fd581443fc750729bf02048f3b171be9a Mon Sep 17 00:00:00 2001 From: crusader Date: Thu, 19 Apr 2018 20:39:14 +0900 Subject: [PATCH] ing --- build.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 build.sh 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