add new executors

This commit is contained in:
Brian Seymour 2018-09-22 01:11:53 -05:00
parent 9e0c0c40f5
commit 087a6e6a39
6 changed files with 33 additions and 2 deletions

View file

@ -38,6 +38,15 @@ case "$lang" in
"go")
bin=executor_go
;;
"c#" | "csharp" | "cs")
bin=executor_csharp
;;
"r")
bin=executor_r
;;
"php")
bin=executor_php
;;
*)
echo "invalid language"
exit
@ -56,6 +65,9 @@ docker run \
-v $dir/executors/c:/executor_c:ro \
-v $dir/executors/cpp:/executor_cpp:ro \
-v $dir/executors/go:/executor_go:ro \
-v $dir/executors/csharp:/executor_csharp:ro \
-v $dir/executors/r:/executor_r:ro \
-v $dir/executors/php:/executor_php:ro \
piston \
runuser \
-l runner \