ing
This commit is contained in:
parent
618983e4ea
commit
9a50b95275
|
@ -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.
4
build.sh
4
build.sh
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user