Implement adding optional arguments to docker run

This commit is contained in:
Kristóf Tóth 2018-05-24 22:40:37 +02:00
parent 024bc9528a
commit bfda8fc1eb

View File

@ -22,7 +22,7 @@ run() {
fi
mount_point="/mnt/$(basename "$here")"
docker run --rm -ti -v "$here":"$mount_point" -w "$mount_point" debian-here "$@"
docker run --rm -ti -v "$here":"$mount_point" -w "$mount_point" ${ARGS:-} debian-here "$@"
}
run "$@"