container_discovery/build.sh
crusader e5550b9cf7 ing
2018-04-28 22:44:37 +09:00

8 lines
296 B
Bash
Executable File

#!/bin/bash
rm ./dist/*
CGO_ENABLED=1 go build -a --installsuffix cgo --ldflags="-s" -o ./dist/container_discovery
# cp ./dist/container_discovery /project/go/src/git.loafle.net/overflow/probe/_build/bin/
# chmod u+s /project/go/src/git.loafle.net/overflow/probe/_build/bin/container_discovery