blob: df58144de90a56f4337d66e5574b1269da809246 [file] [log] [blame]
Instrumentalbc299c02018-09-25 06:42:31 -05001#!/bin/bash
2#
3# Build AAF Cass Docker Script
4#
5# Pull in AAF Env Variables from AAF install
6if [ -e ../../docker/d.props ]; then
7 . ../../docker/d.props
8else
9 . ../../docker/d.props.init
10fi
11
12echo "Building Container for aaf_cass:$VERSION"
13
14DIR=$(pwd)
15cd ..
16sed -e 's/${AAF_VERSION}/'${VERSION}'/g' $DIR/Dockerfile.cass > Dockerfile
17cd ..
18cp -Rf sample/cass_data auth-cass/cass_data
19cp sample/data/sample.identities.dat auth-cass
20
21docker build -t ${ORG}/${PROJECT}/aaf_cass:${VERSION} auth-cass
22cd -
23rm Dockerfile
24rm -Rf cass_data
25rm sample.identities.dat
26cd $DIR
27