ing
This commit is contained in:
parent
9f76eace03
commit
8ee443c7ee
|
@ -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.
6
build.sh
6
build.sh
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user