summaryrefslogtreecommitdiff
path: root/testing/docker/docker-remove-all.sh
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2018-09-28 18:44:48 (GMT)
committerAlexey Neyman <stilor@att.net>2018-09-28 18:53:55 (GMT)
commit9d7c783a93dd4693a009aae5e99156c1f187acaf (patch)
tree701785c1e51328cc05da10adabcc1bee03288914 /testing/docker/docker-remove-all.sh
parentefe65615d053f29d25fdf5fe787b267e4609d9cf (diff)
Make dockerfiles a bit more consistent
... and add Mint 19 and CentOS 6. The latter currently fails in ctng's configure due to an old libtool; need to make libtool optional. Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'testing/docker/docker-remove-all.sh')
-rwxr-xr-xtesting/docker/docker-remove-all.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/testing/docker/docker-remove-all.sh b/testing/docker/docker-remove-all.sh
new file mode 100755
index 0000000..d73ba1e
--- /dev/null
+++ b/testing/docker/docker-remove-all.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+for c in `docker ps -a -q`; do
+ docker rm $c
+done
+for i in `docker images -q`; do
+ docker rmi --force $i
+done