Skip to content

Commit

Permalink
feat(distribution): update image tag in docker-compose.yaml (#762)
Browse files Browse the repository at this point in the history
Signed-off-by: SSpirits <[email protected]>
  • Loading branch information
ShadowySpirits authored Nov 29, 2023
1 parent 2d8dff3 commit 90c001b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion distribution/docker/Dockerfile-ci
Original file line number Diff line number Diff line change
Expand Up @@ -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
WORKDIR ${ROCKETMQ_HOME}/bin

CMD ["./start-broker.sh"]
2 changes: 1 addition & 1 deletion distribution/docker/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 .


4 changes: 2 additions & 2 deletions distribution/docker/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 90c001b

Please sign in to comment.