Merge pull request #1970 from vbatts/vbatts-cleaner_rmi

build: cleaner `docker rmi`
pull/6/head
Joe Beda 2014-10-23 13:02:02 -07:00
commit 02bfcd6b6d
1 changed files with 1 additions and 1 deletions

View File

@ -346,7 +346,7 @@ function kube::build::clean_images() {
done
echo "+++ Cleaning all other untagged docker images"
docker rmi $(docker images | awk '/^<none>/ {print $3}') 2> /dev/null || true
docker rmi $(docker images -q --filter 'dangling=true') 2> /dev/null || true
}
# Run a command in the kube-build image. This assumes that the image has