3 # Docker Building Script. Reads all the components generated by install, on per-version basis
5 # Pull in Variables from d.props
8 DOCKER_REPOSITORY=nexus3.onap.org:10003
11 # TODO add ability to do DEBUG settings
14 AAF_COMPONENTS=`ls ../aaf_*HOT/bin | grep -v '\.'`
19 for AAF_COMPONENT in ${AAF_COMPONENTS}; do
20 echo Building aaf_$AAF_COMPONENT...
21 sed -e 's/${AAF_VERSION}/'${VERSION}'/g' -e 's/${AAF_COMPONENT}/'${AAF_COMPONENT}'/g' Dockerfile > ../aaf_${VERSION}/Dockerfile
23 docker build -t ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${VERSION} aaf_${VERSION}
24 rm aaf_${VERSION}/Dockerfile