summaryrefslogtreecommitdiffstats
path: root/retiolum/t/docker/docker_boostrap.sh
diff options
context:
space:
mode:
Diffstat (limited to 'retiolum/t/docker/docker_boostrap.sh')
-rwxr-xr-xretiolum/t/docker/docker_boostrap.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/retiolum/t/docker/docker_boostrap.sh b/retiolum/t/docker/docker_boostrap.sh
new file mode 100755
index 00000000..82673dd4
--- /dev/null
+++ b/retiolum/t/docker/docker_boostrap.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+cd $(dirname $(readlink -f $0))
+docker_id=$(docker run -d -v $PWD/docker_tests/:/test ubuntu /bin/sh /test/bootstrap )
+trap "docker rm $docker_id" INT TERM EXIT QUIT
+docker wait $docker_id