#!/bin/bash

# echo "Building Docker image."
# docker build -f Dockerfiles/lasp-evaluation -t cmeiklejohn/lasp-evaluation .

echo "Launching docker instance."
docker run --dns=4.2.2.1 -e "EVALUATION_PASSPHRASE=$EVALUATION_PASSPHRASE" -t -i cmeiklejohn/lasp-evaluation

#!/bin/bash

if [ ! -z "$BUILD" ]; then
  echo "Building Docker image."
  docker build -f Dockerfiles/lasp-evaluation -t cmeiklejohn/lasp-evaluation .
fi

echo "Launching docker instance."
docker run --dns=4.2.2.1 -e "EVALUATION_PASSPHRASE=$EVALUATION_PASSPHRASE" -t -i cmeiklejohn/lasp-evaluation

Build if build is set.
Build if build is set.

If the build option is set, then build the docker container first.
