added optional 2nd parameter to select which command to run
This commit is contained in:
parent
7d1d74394b
commit
08e062f1e5
1 changed files with 1 additions and 1 deletions
|
@ -20,4 +20,4 @@ IMAGE_NAME="${1%/}"
|
|||
|
||||
cd "${DIR}/${IMAGE_NAME}"
|
||||
docker build -t ${IMAGE_NAME} .
|
||||
docker run -i -t ${IMAGE_NAME}
|
||||
docker run -i -t ${IMAGE_NAME} ${2}
|
Loading…
Reference in a new issue