Public | Automated Build

Last pushed: 9 months ago
Short Description
https://bitbucket.org/adzuna/docker-unit-test/overview
Full Description

Build

docker build --force-rm -t adzuna/unit-test .

Run

docker rm -f adzuna-unit-test

cd $HOME/code/vagrant-14.04/master_public

git pull; git checkout docker-ut-project ## <--

read "What is the absolute path of adzuna code base? " SRC_DIR

if [[ -d /srv/adzuna/data/uas ]]; then
export UAS_DIR=/srv/adzuna/data/uas;
else;
read "Where is the adzuna uas directory? (e.g. /srv/adzuna/data/uas ) " UAS_DIR;
fi

docker run --name adzuna-unit-test --hostname docker-container --rm -it --link test-db:test.db -v $UAS_DIR:/srv/adzuna/data/uas -v $SRC_DIR:/adzuna adzuna/docker-unit-test bash

Docker Pull Command
Owner
adzuna
Source Repository

Comments (0)