Make Docker runs interactive
Otherwise they're impossible to cancel via Ctrl+C and this is driving me mad.
This commit is contained in:

committed by
Ingvar Stepanyan

parent
0ded493489
commit
d15dba7d20
@ -1,3 +1,3 @@
|
||||
#!/bin/sh -e
|
||||
docker build -t squoosh-cpp - < ../cpp.Dockerfile
|
||||
docker run --rm -v $PWD:/src squoosh-cpp
|
||||
docker run -it --rm -v $PWD:/src squoosh-cpp
|
||||
|
@ -7,4 +7,4 @@ then
|
||||
fi
|
||||
IMG_NAME=squoosh-rust$IMG_SUFFIX
|
||||
docker build -t $IMG_NAME --build-arg RUST_IMG - < ../rust.Dockerfile
|
||||
docker run --rm -v $PWD:/src $IMG_NAME "$@"
|
||||
docker run -it --rm -v $PWD:/src $IMG_NAME "$@"
|
||||
|
Reference in New Issue
Block a user