adding exit 1 when there are not enough command line vars passed to `run in docker` script

This commit is contained in:
j0shua 2018-10-26 16:47:50 -04:00
parent 1639d1d71c
commit f1dfc2c685
1 changed files with 1 additions and 0 deletions

View File

@ -17,6 +17,7 @@ set -e
if [ $# -ne 3 ];
then echo "Usage: run_in_docker.sh <path to Dockerfile> <context directory> <image tag>"
exit 1
fi
dockerfile=$1