From a2fd953e02a7ec387f71d9ca5ca534b86580a9a1 Mon Sep 17 00:00:00 2001 From: Luke Robles Date: Thu, 17 Aug 2017 12:22:15 -0700 Subject: [PATCH] Cleaning up the test script --- test-dragon-bot.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test-dragon-bot.sh b/test-dragon-bot.sh index 2b0471da..1867bc89 100755 --- a/test-dragon-bot.sh +++ b/test-dragon-bot.sh @@ -3,8 +3,8 @@ printf "\n[-] Deleting old dragon-bot container from system\n" docker rm -f dragon-bot-test printf "[+] Done\n" -# Run that shit and mount the docker socket so it can talk to the sky-factory container printf "\n[-] Running dragon bot in test mode\n" docker build -f ./Dockerfile-test-env -t dragon-bot-test . || exit + +# Run that shit and mount the docker socket so it can talk to the sky-factory container docker run -ti --name dragon-bot-test -e DRAGON_ENV=test -v /var/run/docker.sock:/var/run/docker.sock dragon-bot-test sh -printf "[+] Done\n"