update
This commit is contained in:
parent
8ae7a0fa53
commit
9153e1de6e
|
@ -0,0 +1,9 @@
|
|||
#!/bin/bash
|
||||
|
||||
source ./config.sh
|
||||
|
||||
docker build -t "${IMAGE}:${VERSION}" . --no-cache
|
||||
|
||||
docker tag "${IMAGE}:${TAGS_NAME}" ${ADDRESS}:${TAGS_NAME}
|
||||
|
||||
docker push ${ADDRESS}:${TAGS_NAME}
|
|
@ -5,7 +5,7 @@ RPC_CONTAINER="transfer_middleware"
|
|||
RPC_PORT="10001"
|
||||
V_REFLECT=""
|
||||
TAGS_NAME="v1"
|
||||
ADDRESS="registry.cn-chengdu.aliyuncs.com/go_ls/transfer_middleware_produce"
|
||||
ADDRESS="registry.cn-chengdu.aliyuncs.com/go_ls/transfer_middleware"
|
||||
|
||||
docker build -t "${IMAGE}:${TAGS_NAME}" . --no-cache
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
#!/bin/bash
|
||||
|
||||
IMAGE="transfer_middleware"
|
||||
RPC_CONTAINER="transfer_middleware"
|
||||
RPC_PORT="10001"
|
||||
V_REFLECT=""
|
||||
TAGS_NAME="v1"
|
||||
ADDRESS="registry.cn-chengdu.aliyuncs.com/go_ls/transfer_middleware"
|
||||
|
||||
docker build -t "${IMAGE}:${TAGS_NAME}" . --no-cache
|
||||
|
||||
docker tag "${IMAGE}:${TAGS_NAME}" ${ADDRESS}:${TAGS_NAME}
|
||||
|
||||
docker push ${ADDRESS}:${TAGS_NAME}
|
|
@ -7,4 +7,8 @@ V_REFLECT=""
|
|||
|
||||
|
||||
docker build -t "${IMAGE}" . --no-cache
|
||||
docker stop "${RPC_CONTAINER}"
|
||||
|
||||
docker rm "${RPC_CONTAINER}"
|
||||
|
||||
#docker run -it -p "${RPC_PORT}:${RPC_PORT}" --name "$RPC_CONTAINER" "${IMAGE}"
|
|
@ -1,5 +0,0 @@
|
|||
FROM alpine:latest AS runtime
|
||||
RUN apk update && apk add supervisor
|
||||
RUN apk add make
|
||||
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
|
||||
ENV TZ Asia/Shanghai
|
|
@ -0,0 +1 @@
|
|||
package until
|
Loading…
Reference in New Issue