adding exit 1 when there are not enough command line vars passed to `run in docker` script
This commit is contained in:
parent
1639d1d71c
commit
f1dfc2c685
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue