Cleaning up the test script

This commit is contained in:
Luke Robles 2017-08-17 12:22:15 -07:00
parent 68e667f852
commit a2fd953e02

View File

@ -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"