mirror of
https://github.com/engineer-man/piston.git
synced 2025-06-07 18:56:26 +02:00
dont switch users in dockerfile, use runuser instead
This commit is contained in:
parent
fce8babb89
commit
bdab24e810
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue