Mercurial > public > ssdt-docker
annotate scripts/updates-cleanup.sh @ 82:b2deadc0cf17
USPSR-2298 Update usps db image to ssdt-postgres:3
author | Matt Calmes <calmes@nwoca.org> |
---|---|
date | Thu, 25 Aug 2016 16:19:15 +0100 |
parents | 334d65dac778 |
children | fea886ba7279 |
rev | line source |
---|---|
54 | 1 #!/bin/bash |
53
f3773b50a88e
add cleanup script to remove obsolete images
Dave smith <smith@nwoca.org>
parents:
diff
changeset
|
2 # |
f3773b50a88e
add cleanup script to remove obsolete images
Dave smith <smith@nwoca.org>
parents:
diff
changeset
|
3 # Safely removes obsolete images from previous SSDT versions. |
f3773b50a88e
add cleanup script to remove obsolete images
Dave smith <smith@nwoca.org>
parents:
diff
changeset
|
4 # |
f3773b50a88e
add cleanup script to remove obsolete images
Dave smith <smith@nwoca.org>
parents:
diff
changeset
|
5 |
f3773b50a88e
add cleanup script to remove obsolete images
Dave smith <smith@nwoca.org>
parents:
diff
changeset
|
6 docker images --filter "label=io.ssdt.app" --filter "dangling=true" -q | xargs docker rmi |
f3773b50a88e
add cleanup script to remove obsolete images
Dave smith <smith@nwoca.org>
parents:
diff
changeset
|
7 |