8 lines
296 B
Bash
Executable File
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
|