member_gateway_rest/build.sh
2018-04-11 22:08:41 +09:00

9 lines
287 B
Bash
Executable File

#!/bin/bash
rm ./_docker/bin/member_gateway_rest
CGO_ENABLED=0 go build -a --installsuffix cgo --ldflags="-s" -o ./_docker/bin/member_gateway_rest
docker build -t docker.loafle.net/overflow/member_gateway_rest:1.0.0 .
#docker push docker.loafle.net/overflow/member_gateway_rest:1.0.0