This commit is contained in:
geek 2018-04-13 15:29:15 +09:00
parent 618983e4ea
commit 9a50b95275
3 changed files with 3 additions and 2 deletions

View File

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

Binary file not shown.

View File

@ -1,8 +1,8 @@
#!/bin/bash #!/bin/bash
rm ./_docker/bin/member_gateway_rpc rm ./dist
CGO_ENABLED=0 go build -a --installsuffix cgo --ldflags="-s" -o ./_docker/bin/member_gateway_rpc CGO_ENABLED=0 go build -a --installsuffix cgo --ldflags="-s" -o ./_docker/bin/member_gateway_rpc
docker build -t docker.loafle.net/overflow/member_gateway_rpc:1.0.0 . docker build -t docker.loafle.net/overflow/member_gateway_rpc:1.0.0 .
#docker push docker.loafle.net/overflow/member_gateway_rpc:1.0.0 docker push docker.loafle.net/overflow/member_gateway_rpc:1.0.0