Code Review
/
aaf
/
authz.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Enable Organizations to have a subset of users the user roles of which do not expire
[aaf/authz.git]
/
auth
/
docker
/
dclean.sh
diff --git
a/auth/docker/dclean.sh
b/auth/docker/dclean.sh
index
0e974aa
..
867f4c6
100644
(file)
--- a/
auth/docker/dclean.sh
+++ b/
auth/docker/dclean.sh
@@
-22,6
+22,10
@@
. ./d.props
DOCKER=${DOCKER:=docker}
. ./d.props
DOCKER=${DOCKER:=docker}
+if [ "$1" == "all" ]; then
+ AAF_COMPONENTS=cass
+ shift
+fi
if [ "$1" == "" ]; then
AAF_COMPONENTS="$(cat components) config core agent base "
else
if [ "$1" == "" ]; then
AAF_COMPONENTS="$(cat components) config core agent base "
else
@@
-36,4
+40,5
@@
for AAF_COMPONENT in ${AAF_COMPONENTS}; do
$DOCKER image rm $DOCKER_REPOSITORY/$ORG/$PROJECT/aaf_$AAF_COMPONENT:latest
fi
done
$DOCKER image rm $DOCKER_REPOSITORY/$ORG/$PROJECT/aaf_$AAF_COMPONENT:latest
fi
done
+
echo "Y" | $DOCKER image prune
echo "Y" | $DOCKER image prune