This commit is contained in:
crusader 2018-04-12 12:28:14 +09:00
parent 9f76eace03
commit 8ee443c7ee
3 changed files with 4 additions and 3 deletions

View File

@ -5,6 +5,7 @@ RUN apk add --no-cache curl
COPY _docker/config/* /etc/overflow/config/
COPY _docker/bin/* /usr/local/overflow/bin/
COPY dist/member_gateway_rest /usr/local/overflow/bin/
RUN mkdir -p /etc/overflow/config; \
mkdir -p /usr/local/overflow/bin; \

Binary file not shown.

View File

@ -1,8 +1,8 @@
#!/bin/bash
rm ./_docker/bin/member_gateway_rest
CGO_ENABLED=0 go build -a --installsuffix cgo --ldflags="-s" -o ./_docker/bin/member_gateway_rest
rm ./dist
CGO_ENABLED=0 go build -a --installsuffix cgo --ldflags="-s" -o ./dist/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
docker push docker.loafle.net/overflow/member_gateway_rest:1.0.0