diff options
Diffstat (limited to 'go/t/docker')
-rwxr-xr-x | go/t/docker/docker_deploy.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/go/t/docker/docker_deploy.sh b/go/t/docker/docker_deploy.sh index 0e3f1d79..25597bc5 100755 --- a/go/t/docker/docker_deploy.sh +++ b/go/t/docker/docker_deploy.sh @@ -5,7 +5,7 @@ rnd_port=$(shuf -i 2000-65000 -n 1) docker_id=$(docker run -p $rnd_port:80 -d -v /krebs/go/t/docker/../../../:/krebs ubuntu /bin/bash /krebs/go/t/docker/dockertest/deploy) #docker run -p $rnd_port:80 -v /krebs/go/t/docker/../../../:/krebs ubuntu /bin/bash /krebs/go/t/docker/dockertest/deploy echo $docker_id on $rnd_port -trap "docker stop $docker_id" INT TERM EXIT QUIT +trap "docker stop $docker_id;docker rm $docker_id" INT TERM EXIT QUIT i=0 max_wait=20 echo "waiting for install (takes about 3 minutes)" |