11 lines
519 B
Bash
Executable File
11 lines
519 B
Bash
Executable File
# Remove the running container so we cna re-use the container name 'dragon-bot'
|
|
printf "\n[-] Deleting old dragon-bot container from system\n"
|
|
docker rm -f dragon-bot-test
|
|
printf "[+] Done\n"
|
|
|
|
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
|