1
0
Fork 0

added optional 2nd parameter to select which command to run

This commit is contained in:
Christian Kühnel 2019-11-13 17:50:49 +01:00
parent 7d1d74394b
commit 08e062f1e5

View file

@ -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}