build(aio): allow passing parameters to `docker build`
This commit is contained in:
parent
7e67f37fc4
commit
d9d9d9de6f
|
@ -15,4 +15,4 @@ cd -
|
||||||
|
|
||||||
# Create docker image
|
# Create docker image
|
||||||
nameAndOptionalTag=$([ $# -eq 0 ] && echo $DEFAULT_IMAGE_NAME_AND_TAG || echo $1)
|
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
|
||||||
|
|
Loading…
Reference in New Issue