mount as ro
This commit is contained in:
parent
9919260510
commit
dca717832e
|
@ -54,14 +54,14 @@ docker run \
|
||||||
--cpus=".5" \
|
--cpus=".5" \
|
||||||
--ulimit nproc=8:16 \
|
--ulimit nproc=8:16 \
|
||||||
--rm \
|
--rm \
|
||||||
-v $abs:/$file \
|
-v $abs:/$file:ro \
|
||||||
-v $dir/executors/python2:/executor_python2 \
|
-v $dir/executors/python2:/executor_python2:ro \
|
||||||
-v $dir/executors/python3:/executor_python3 \
|
-v $dir/executors/python3:/executor_python3:ro \
|
||||||
-v $dir/executors/ruby:/executor_ruby \
|
-v $dir/executors/ruby:/executor_ruby:ro \
|
||||||
-v $dir/executors/node:/executor_node \
|
-v $dir/executors/node:/executor_node:ro \
|
||||||
-v $dir/executors/c:/executor_c \
|
-v $dir/executors/c:/executor_c:ro \
|
||||||
-v $dir/executors/cpp:/executor_cpp \
|
-v $dir/executors/cpp:/executor_cpp:ro \
|
||||||
-v $dir/executors/go:/executor_go \
|
-v $dir/executors/go:/executor_go:ro \
|
||||||
piston \
|
piston \
|
||||||
timeout -s HUP 15 /$bin /$file $file 2>&1
|
timeout -s HUP 15 /$bin /$file $file 2>&1
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue