X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=tools%2Ftests%2Frun_in_debian_dockers;fp=tools%2Ftests%2Frun_in_debian_dockers;h=b12098cc284cddff5235bdbe20923078c5fc4af9;hb=6c6fa9cd3bd627a60f165682f96af3cc06d9ccc9;hp=0000000000000000000000000000000000000000;hpb=15d0a7f8a363c9fe2b286ddcb99acc41c9c91681;p=neurodebian.git diff --git a/tools/tests/run_in_debian_dockers b/tools/tests/run_in_debian_dockers new file mode 100755 index 0000000..b12098c --- /dev/null +++ b/tools/tests/run_in_debian_dockers @@ -0,0 +1,10 @@ +#!/bin/bash + +set -u +test=$1 + +docker.io images 2>&1 | grep -e "\(debian\|ubuntu\)[ ]*[0-9]" | sort | awk '{print $1,$2;}' \ +| while read d v; do + echo "== $d $v" + chronic docker.io run --rm=true -v $PWD:$PWD $d:$v /bin/bash $PWD/$test +done