diff options
author | makefu <github@syntax-fehler.de> | 2014-03-07 15:51:25 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2014-03-07 15:51:25 +0100 |
commit | f91c15a6ac8e94dae54f4cdaa93defd3f7006226 (patch) | |
tree | 3a5528370a701336e616bc0ac3a788f9781a725c /retiolum/t/docker | |
parent | b201fb5074cb38ce713fce42b97cf6e23b5c7e79 (diff) |
update docker to remove itself after completion
Diffstat (limited to 'retiolum/t/docker')
-rwxr-xr-x | retiolum/t/docker/docker_boostrap.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/retiolum/t/docker/docker_boostrap.sh b/retiolum/t/docker/docker_boostrap.sh index 82673dd4..6288b09a 100755 --- a/retiolum/t/docker/docker_boostrap.sh +++ b/retiolum/t/docker/docker_boostrap.sh @@ -1,5 +1,5 @@ #!/bin/sh cd $(dirname $(readlink -f $0)) -docker_id=$(docker run -d -v $PWD/docker_tests/:/test ubuntu /bin/sh /test/bootstrap ) +docker_id=$(docker run -d -rm=true -v $PWD/docker_tests/:/test ubuntu /bin/sh /test/bootstrap ) trap "docker rm $docker_id" INT TERM EXIT QUIT docker wait $docker_id |