member_gateway_rest/build.sh

9 lines
270 B
Bash
Raw Normal View History

2018-04-11 13:08:41 +00:00
#!/bin/bash
2018-04-12 03:28:14 +00:00
rm ./dist
CGO_ENABLED=0 go build -a --installsuffix cgo --ldflags="-s" -o ./dist/member_gateway_rest
2018-04-11 13:08:41 +00:00
2018-06-14 07:12:46 +00:00
docker build -t docker.loafle.net/overflow/member_gateway_rest:1.0.0-SNAPSHOT .
2018-04-11 13:08:41 +00:00
2018-06-14 07:12:46 +00:00
docker push docker.loafle.net/overflow/member_gateway_rest:1.0.0-SNAPSHOT