diff options
author | Instrumental <jcgmisc@stl.gathman.org> | 2018-04-05 20:52:32 -0500 |
---|---|---|
committer | Instrumental <jcgmisc@stl.gathman.org> | 2018-04-05 20:52:41 -0500 |
commit | df9e827fa3ec1c7e32b5f5eb7a63a4c11f9da4a7 (patch) | |
tree | cdd1bcb33e7c3f0d24b582d895531af31280e8a6 /auth/docker/dclean.sh | |
parent | 6cd833478d794245708ccd448a6835a0d6d3b7ce (diff) |
rm CADI Cass
Issue-ID: AAF-212
Change-Id: I72b1a5ff68ae0f9527b3d82c9a84a0660fe380ae
Signed-off-by: Instrumental <jcgmisc@stl.gathman.org>
Diffstat (limited to 'auth/docker/dclean.sh')
-rw-r--r-- | auth/docker/dclean.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/auth/docker/dclean.sh b/auth/docker/dclean.sh new file mode 100644 index 00000000..b14f0bcc --- /dev/null +++ b/auth/docker/dclean.sh @@ -0,0 +1,14 @@ +#!/bin/bash dclean.sh +. d.props + +if [ "$1" == "" ]; then + AAF_COMPONENTS=`ls ../aaf_${VERSION}/bin | grep -v '\.'` +else + AAF_COMPONENTS=$1 +fi + +echo "Y" | docker container prune +for AAF_COMPONENT in ${AAF_COMPONENTS}; do + docker image rm $DOCKER_REPOSITORY/$ORG/$PROJECT/aaf_$AAF_COMPONENT:${VERSION} +done +echo "Y" | docker image prune |