blob: 0bca9ef7cb77da7deafc3a7963fdfb0a4d3132a5 [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
Instrumental4ad47632018-07-13 15:49:26 -050011docker image rm $ORG/$PROJECT/aaf_config:${VERSION}
Instrumental9ec28952018-07-12 11:14:10 -050012docker image rm $ORG/$PROJECT/aaf_core:${VERSION}
13
Instrumentaldf9e8272018-04-05 20:52:32 -050014echo "Y" | docker container prune
15for AAF_COMPONENT in ${AAF_COMPONENTS}; do
Instrumental4ad47632018-07-13 15:49:26 -050016 docker image rm $ORG/$PROJECT/aaf_$AAF_COMPONENT:${VERSION}
Instrumentaldf9e8272018-04-05 20:52:32 -050017done
18echo "Y" | docker image prune