#!/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