probe_gateway_metric/build.sh

8 lines
272 B
Bash
Raw Permalink Normal View History

2018-05-11 03:54:30 +00:00
#!/bin/bash
rm ./dist
CGO_ENABLED=0 go build -a --installsuffix cgo --ldflags="-s" -o ./dist/probe_gateway_metric
2018-06-14 07:18:14 +00:00
docker build -t docker.loafle.net/overflow/probe_gateway_metric:1.0.0-SNAPSHOT .
2018-05-11 03:54:30 +00:00
2018-06-14 07:18:14 +00:00
docker push docker.loafle.net/overflow/probe_gateway_metric:1.0.0-SNAPSHOT