dont switch users in dockerfile, use runuser instead
This commit is contained in:
parent
fce8babb89
commit
bdab24e810
|
@ -62,6 +62,6 @@ docker run \
|
||||||
-v $dir/executors/cpp:/executor_cpp:ro \
|
-v $dir/executors/cpp:/executor_cpp:ro \
|
||||||
-v $dir/executors/go:/executor_go:ro \
|
-v $dir/executors/go:/executor_go:ro \
|
||||||
piston \
|
piston \
|
||||||
runuser -l runner -c '/$bin /$file $file 2>&1'
|
runuser -l runner -c "/$bin /$file $file 2>&1"
|
||||||
|
|
||||||
rm -f /tmp/$file
|
rm -f /tmp/$file
|
||||||
|
|
Loading…
Reference in New Issue