comparison scripts/updates-cleanup.sh @ 195:26bb64873bbe production v1.3.0

flow: Merged <release> 'v1.3.0' to <master> ('production').
author smith@nwoca.org
date Thu, 21 Sep 2017 17:14:46 +0100
parents fea886ba7279
children
comparison
equal deleted inserted replaced
184:26892906f365 195:26bb64873bbe
1 #!/bin/bash 1 #!/bin/bash
2 # 2 #
3 # Safely removes obsolete images from previous SSDT versions. 3 # Safely removes obsolete images from previous SSDT versions.
4 # 4 #
5 source "${SSDT_SCRIPTS:-$(dirname "${BASH_SOURCE[0]}")}/.functions.sh"
5 6
6 docker images --filter "label=io.ssdt.app" --filter "dangling=true" -q | xargs docker rmi 7 docker images --filter "label=io.ssdt.app" --filter "dangling=true" -q | xargs docker rmi
7 8