2 # Docker Building Script. Reads all the components generated by install, on per-version basis
6 # TODO add ability to do DEBUG settings
8 if [ "$1" == "" ]; then
9 AAF_COMPONENTS=`ls ../aaf_*HOT/bin | grep -v '\.'`
14 for AAF_COMPONENT in ${AAF_COMPONENTS}; do
15 sed -e 's/${AAF_VERSION}/'${VERSION}'/g' -e 's/${AAF_COMPONENT}/'${AAF_COMPONENT}'/g' Dockerfile > ../aaf_${VERSION}/Dockerfile
17 docker build -t onap/aaf/aaf_${AAF_COMPONENT}:${VERSION} aaf_${VERSION}
18 rm aaf_${VERSION}/Dockerfile