blob: b502c022050a0eb86a5894bdb26ee520e5b1715d [file] [log] [blame]
Instrumental4ad47632018-07-13 15:49:26 -05001#!/bin/bash
Instrumental12f7f462018-04-23 15:43:47 -05002# Pull in Variables from d.props
3. ./d.props
Instrumentaldf9e8272018-04-05 20:52:32 -05004
5if [ "$1" == "" ]; then
Instrumental4ad47632018-07-13 15:49:26 -05006 AAF_COMPONENTS=$(ls ../aaf_${VERSION}/bin | grep -v '\.')
Instrumentaldf9e8272018-04-05 20:52:32 -05007else
Instrumental4ad47632018-07-13 15:49:26 -05008 AAF_COMPONENTS=$1
Instrumentaldf9e8272018-04-05 20:52:32 -05009fi
10
Instrumental32cdd552018-07-19 13:29:32 -050011docker image rm $ORG/$PROJECT/aaf_agent:${VERSION}
Instrumental4ad47632018-07-13 15:49:26 -050012docker image rm $ORG/$PROJECT/aaf_config:${VERSION}
Instrumental9ec28952018-07-12 11:14:10 -050013docker image rm $ORG/$PROJECT/aaf_core:${VERSION}
14
Instrumentaldf9e8272018-04-05 20:52:32 -050015echo "Y" | docker container prune
16for AAF_COMPONENT in ${AAF_COMPONENTS}; do
Instrumental4ad47632018-07-13 15:49:26 -050017 docker image rm $ORG/$PROJECT/aaf_$AAF_COMPONENT:${VERSION}
Instrumentaldf9e8272018-04-05 20:52:32 -050018done
19echo "Y" | docker image prune