dont switch users in dockerfile, use runuser instead

This commit is contained in:
Brian Seymour 2018-09-21 12:19:37 -05:00
parent 548e69d3f3
commit fce8babb89
2 changed files with 1 additions and 2 deletions

View file

@ -62,6 +62,6 @@ docker run \
-v $dir/executors/cpp:/executor_cpp:ro \
-v $dir/executors/go:/executor_go:ro \
piston \
/$bin /$file $file 2>&1
runuser -l runner -c '/$bin /$file $file 2>&1'
rm -f /tmp/$file