From 7a5f2b74a09a08a218b3d41dbdc2ab98317a90c8 Mon Sep 17 00:00:00 2001 From: Tal Gitelman Date: Sun, 1 Oct 2017 12:45:47 +0300 Subject: Scrip for docker image cleaning without base image Change-Id: Iebb5c58213706e1bb92912f75ec99229dd4c2b05 Issue-ID: SDC-143 Signed-off-by: Tal Gitelman --- sdc-os-chef/scripts/clean_images_except_base.sh | 1 + 1 file changed, 1 insertion(+) create mode 100644 sdc-os-chef/scripts/clean_images_except_base.sh diff --git a/sdc-os-chef/scripts/clean_images_except_base.sh b/sdc-os-chef/scripts/clean_images_except_base.sh new file mode 100644 index 0000000000..77e143a01e --- /dev/null +++ b/sdc-os-chef/scripts/clean_images_except_base.sh @@ -0,0 +1 @@ +docker rmi -f `docker images | grep -v base | awk '{print $3}'` -- cgit 1.2.3-korg