3 # Build AAF Cass Docker Script locally
5 # Pull in AAF Env Variables from AAF install
6 if [ -e ../../docker/d.props ]; then
9 . ../../docker/d.props.init
12 echo "Building aaf_cass Container for aaf_cass:$VERSION"
16 sed -e 's/${AAF_VERSION}/'${VERSION}'/g' $DIR/Dockerfile.cass > Dockerfile
18 cp -Rf sample/cass_data auth-cass/cass_data
19 cp sample/data/sample.identities.dat auth-cass
21 docker build -t ${ORG}/${PROJECT}/aaf_cass:${VERSION} auth-cass
22 docker tag ${ORG}/${PROJECT}/aaf_cass:${VERSION} ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_cass:${VERSION}
27 rm sample.identities.dat