Browse Source

Pull the newest image before running Twister from the remote docker image

miguelfreitas
Martin Honermeyer 11 years ago committed by Martin Honermeyer
parent
commit
9eaf6ebc3b
  1. 2
      docker-container

2
docker-container

@ -21,6 +21,8 @@ build) @@ -21,6 +21,8 @@ build)
run)
if [ $MODE == "--remote" ]; then
IMAGE_NAME=$REMOTE_IMAGE_NAME
echo Pulling new version of $IMAGE_NAME
docker pull $IMAGE_NAME
fi
echo Running $IMAGE_NAME
docker run -d -p 28332:28332 -v $HOME/.twister:/root/.twister $IMAGE_NAME

Loading…
Cancel
Save