mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-22 12:34:24 +00:00
Pull the newest image before running Twister from the remote docker image
This commit is contained in:
parent
2689a5af88
commit
9eaf6ebc3b
@ -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…
x
Reference in New Issue
Block a user