diff options
author | Tal Gitelman <tg851x@intl.att.com> | 2017-10-01 12:45:47 +0300 |
---|---|---|
committer | Tal Gitelman <tg851x@intl.att.com> | 2017-10-01 20:54:53 +0300 |
commit | 7a5f2b74a09a08a218b3d41dbdc2ab98317a90c8 (patch) | |
tree | 5a69cc5e7011675cedbd45b8391ccadad05db5d9 /sdc-os-chef | |
parent | 87d4f768bb7a73cc6a2ff7abfe41a5f680dcc7e2 (diff) |
Scrip for docker image cleaning without base image
Change-Id: Iebb5c58213706e1bb92912f75ec99229dd4c2b05
Issue-ID: SDC-143
Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
Diffstat (limited to 'sdc-os-chef')
-rw-r--r-- | sdc-os-chef/scripts/clean_images_except_base.sh | 1 |
1 files changed, 1 insertions, 0 deletions
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}'` |