2018-04-11 08:33:23 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2018-04-13 06:29:15 +00:00
|
|
|
rm ./dist
|
2018-04-13 09:07:14 +00:00
|
|
|
CGO_ENABLED=0 go build -a --installsuffix cgo --ldflags="-s" -o ./dist/member_gateway_rpc
|
2018-04-11 08:33:23 +00:00
|
|
|
|
|
|
|
docker build -t docker.loafle.net/overflow/member_gateway_rpc:1.0.0 .
|
|
|
|
|
2018-04-13 06:29:15 +00:00
|
|
|
docker push docker.loafle.net/overflow/member_gateway_rpc:1.0.0
|