You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2019/10/10 02:12:10 UTC

[GitHub] [rocketmq-docker] NineSwordsMonster commented on issue #10: fix stage replace ROCKETMQ_VERSION error image name

NineSwordsMonster commented on issue #10: fix stage replace ROCKETMQ_VERSION  error  image name
URL: https://github.com/apache/rocketmq-docker/pull/10#issuecomment-540296989
 
 
   ```
   # Build rocketmq
   case "${BASE_IMAGE}" in
       alpine)
           docker build --no-cache -f Dockerfile-alpine -t rocketmqinc/rocketmq:${ROCKETMQ_VERSION}-alpine --build-arg version=${ROCKETMQ_VERSION} .
       ;;
       centos)
           docker build --no-cache -f Dockerfile-centos -t rocketmqinc/rocketmq:${ROCKETMQ_VERSION} --build-arg version=${ROCKETMQ_VERSION} .
       ;;
       *)
           echo "${BASE_IMAGE} is not supported, supported base images: centos, alpine"
           exit -1
       ;;
   esac
   ```
   build image create different name of image, so run `sh stage.sh xxx` replace image name is error

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services