From 90c001b3a9b0a05276689cd5fe27ab227aaa3a47 Mon Sep 17 00:00:00 2001 From: SSpirits Date: Wed, 29 Nov 2023 15:34:07 +0800 Subject: [PATCH] feat(distribution): update image tag in docker-compose.yaml (#762) Signed-off-by: SSpirits --- distribution/docker/Dockerfile-ci | 4 +++- distribution/docker/build.sh | 2 +- distribution/docker/docker-compose.yaml | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/distribution/docker/Dockerfile-ci b/distribution/docker/Dockerfile-ci index 3039688d4..0d7e45cec 100644 --- a/distribution/docker/Dockerfile-ci +++ b/distribution/docker/Dockerfile-ci @@ -51,4 +51,6 @@ RUN chmod a+x ${ROCKETMQ_HOME}/bin/run-server.sh # Export Java options RUN export JAVA_OPT=" -Duser.home=/opt" -WORKDIR ${ROCKETMQ_HOME}/bin \ No newline at end of file +WORKDIR ${ROCKETMQ_HOME}/bin + +CMD ["./start-broker.sh"] \ No newline at end of file diff --git a/distribution/docker/build.sh b/distribution/docker/build.sh index f705600bf..0a6a36d40 100755 --- a/distribution/docker/build.sh +++ b/distribution/docker/build.sh @@ -22,6 +22,6 @@ cd "$REPO_DIR" || exit 1 mvn package -Dmaven.test.skip=true cp distribution/target/automq-for-rocketmq.tar.gz "$SCRIPT_DIR" cd "$SCRIPT_DIR" || exit 1 -docker build -t automq-for-rocketmq:0.0.1 -f Dockerfile . +docker build -t automqinc/automq-for-rocketmq:v0.0.3-alpha -f Dockerfile . diff --git a/distribution/docker/docker-compose.yaml b/distribution/docker/docker-compose.yaml index 7fc725b24..50f6b45f0 100644 --- a/distribution/docker/docker-compose.yaml +++ b/distribution/docker/docker-compose.yaml @@ -42,7 +42,7 @@ services: - rocketmq_net broker-1: - image: "automq-for-rocketmq:0.0.1" + image: "automqinc/automq-for-rocketmq:v0.0.3-alpha" # https://docs.docker.com/compose/compose-file/05-services/#entrypoint environment: - ROCKETMQ_NODE_NAME=broker-1 @@ -65,7 +65,7 @@ services: rocketmq_net: ipv4_address: 11.6.0.3 broker-2: - image: "automq-for-rocketmq:0.0.1" + image: "automqinc/automq-for-rocketmq:v0.0.3-alpha" # https://docs.docker.com/compose/compose-file/05-services/#entrypoint environment: - ROCKETMQ_NODE_NAME=broker-2