Instrumental | 97083ef | 2018-04-25 15:22:38 -0500 | [diff] [blame] | 1 | #!/bin/bash |
Instrumental | 12f7f46 | 2018-04-23 15:43:47 -0500 | [diff] [blame] | 2 | # Pull in Variables from d.props |
| 3 | . ./d.props |
Instrumental | df9e827 | 2018-04-05 20:52:32 -0500 | [diff] [blame] | 4 | |
| 5 | if [ "$1" == "" ]; then |
| 6 | AAF_COMPONENTS=`ls ../aaf_${VERSION}/bin | grep -v '\.'` |
| 7 | else |
| 8 | AAF_COMPONENTS=$1 |
| 9 | fi |
| 10 | |
| 11 | echo "Y" | docker container prune |
| 12 | for AAF_COMPONENT in ${AAF_COMPONENTS}; do |
| 13 | docker image rm $DOCKER_REPOSITORY/$ORG/$PROJECT/aaf_$AAF_COMPONENT:${VERSION} |
| 14 | done |
| 15 | echo "Y" | docker image prune |