From e4b719a460278d71d84df61424e3e351d1ad9cbd Mon Sep 17 00:00:00 2001 From: luke Date: Tue, 8 Aug 2017 12:36:55 -0700 Subject: [PATCH] updating pull script to pull latest build of the container --- pull_and_run_latest.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pull_and_run_latest.sh b/pull_and_run_latest.sh index b537f844..30db2827 100755 --- a/pull_and_run_latest.sh +++ b/pull_and_run_latest.sh @@ -4,6 +4,7 @@ docker rm -f dragon-bot printf "[+] Done\n" # Run that shit and mount the docker socket so it can talk to the sky-factory container -printf "\n[-] Starting up latest build of container\n" -docker run -d --name dragon-bot -v /var/run/docker.sock:/var/run/docker.sock --restart always ldooks/dragon-bot +printf "\n[-] Pulling latest build of container\n" +docker pull ldooks/dragon-bot:latest +docker run -d --name dragon-bot -v /var/run/docker.sock:/var/run/docker.sock --restart always ldooks/dragon-bot:latest printf "[+] Done\n"