From dca717832e69d6b14f241481be365b3420962c47 Mon Sep 17 00:00:00 2001 From: Brian Seymour Date: Thu, 20 Sep 2018 22:45:40 -0500 Subject: [PATCH] mount as ro --- docker/execute | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docker/execute b/docker/execute index 324a07a..d968f0b 100755 --- a/docker/execute +++ b/docker/execute @@ -54,14 +54,14 @@ docker run \ --cpus=".5" \ --ulimit nproc=8:16 \ --rm \ - -v $abs:/$file \ - -v $dir/executors/python2:/executor_python2 \ - -v $dir/executors/python3:/executor_python3 \ - -v $dir/executors/ruby:/executor_ruby \ - -v $dir/executors/node:/executor_node \ - -v $dir/executors/c:/executor_c \ - -v $dir/executors/cpp:/executor_cpp \ - -v $dir/executors/go:/executor_go \ + -v $abs:/$file:ro \ + -v $dir/executors/python2:/executor_python2:ro \ + -v $dir/executors/python3:/executor_python3:ro \ + -v $dir/executors/ruby:/executor_ruby:ro \ + -v $dir/executors/node:/executor_node:ro \ + -v $dir/executors/c:/executor_c:ro \ + -v $dir/executors/cpp:/executor_cpp:ro \ + -v $dir/executors/go:/executor_go:ro \ piston \ timeout -s HUP 15 /$bin /$file $file 2>&1