build(aio): allow passing parameters to `docker build`

This commit is contained in:
Georgios Kalpakas 2017-03-02 11:06:34 +02:00 committed by Chuck Jazdzewski
parent 7e67f37fc4
commit d9d9d9de6f
1 changed files with 1 additions and 1 deletions

View File

@ -15,4 +15,4 @@ cd -
# Create docker image
nameAndOptionalTag=$([ $# -eq 0 ] && echo $DEFAULT_IMAGE_NAME_AND_TAG || echo $1)
sudo docker build --tag $nameAndOptionalTag $DOCKERBUILD_DIR
sudo docker build --tag $nameAndOptionalTag ${@:2} $DOCKERBUILD_DIR