diff --git a/CMake/CircleCI/run.sh b/CMake/CircleCI/run.sh index c09f78edc5b..90acee6f496 100755 --- a/CMake/CircleCI/run.sh +++ b/CMake/CircleCI/run.sh @@ -3,7 +3,7 @@ script_dir="`cd $(dirname $0); pwd`" # Run the images which contains the build of slicer (to link with the testing image with mounted volume) -docker run -d --name slicer-build-with-test slicer/slicer-test bash +docker run -d --rm=false --name slicer-build-with-test slicer/slicer-test bash # Run the opengl docker image which will run the tests located on the volume shared by slicer/slicer-build $script_dir/run_opengl.sh \ @@ -13,4 +13,4 @@ $script_dir/run_opengl.sh \ -r --volumes-from -r slicer-build-with-test # Remove the container used to mount volumes from slicer-build -docker rm slicer-build-with-test +#docker rm slicer-build-with-test diff --git a/CMake/CircleCI/run_opengl.sh b/CMake/CircleCI/run_opengl.sh index 21e2f574fcb..9ee2dcfebd6 100755 --- a/CMake/CircleCI/run_opengl.sh +++ b/CMake/CircleCI/run_opengl.sh @@ -92,7 +92,7 @@ url="http://${ip}:$port" cleanup() { docker stop $container >/dev/null - docker rm $container >/dev/null + #docker rm $container >/dev/null } running=$(docker ps -a -q --filter "name=${container}") @@ -126,6 +126,7 @@ fi docker run \ -d \ + --rm=false \ --name $container \ ${mount_local} \ $port_arg \