Newer
Older
Casey Kuhlman
committed
base=github.com/eris-ltd/eris-db
release="0.10"
Casey Kuhlman
committed
repo=$GOPATH/src/$base
branch=${ERISDB_BUILD_BRANCH:=develop}
Casey Kuhlman
committed
start=`pwd`
cd $repo
if [ "$DEV" != "true" ]; then
git checkout $branch
git pull origin
fi
Casey Kuhlman
committed
if [ "$ERISDB_BUILD_BRANCH" = "master" ]; then
docker build -t eris/erisdb:$release -f DOCKER/Dockerfile .
docker tag eris/erisdb:$release eris/erisdb:latest
else
docker build -t eris/erisdb:$branch -f DOCKER/Dockerfile .
fi
Casey Kuhlman
committed