summaryrefslogtreecommitdiffstats
path: root/ship
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2014-03-07 15:51:25 +0100
committermakefu <github@syntax-fehler.de>2014-03-07 15:51:25 +0100
commitf91c15a6ac8e94dae54f4cdaa93defd3f7006226 (patch)
tree3a5528370a701336e616bc0ac3a788f9781a725c /ship
parentb201fb5074cb38ce713fce42b97cf6e23b5c7e79 (diff)
update docker to remove itself after completion
Diffstat (limited to 'ship')
-rwxr-xr-xship/t/docker/docker_remote_punani.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ship/t/docker/docker_remote_punani.sh b/ship/t/docker/docker_remote_punani.sh
index 1eab1a42..c006f013 100755
--- a/ship/t/docker/docker_remote_punani.sh
+++ b/ship/t/docker/docker_remote_punani.sh
@@ -1,5 +1,5 @@
#!/bin/sh
cd $(dirname $(readlink -f $0))
-docker_id=$(docker run -d -v $PWD/punani/:/test ubuntu /bin/sh /test/remote_punani)
+docker_id=$(docker run -rm=true -d -v $PWD/punani/:/test ubuntu /bin/sh /test/remote_punani)
trap "docker rm $docker_id" INT TERM EXIT QUIT
docker wait $docker_id