mirror of
https://github.com/engineer-man/piston.git
synced 2025-06-08 03:06:26 +02:00
increase execution time, lift cpu cap, updated docs
This commit is contained in:
parent
35ddde0106
commit
eec7ec26fa
9 changed files with 10 additions and 14 deletions
|
@ -1,10 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
#docker run --rm -it piston /usr/bin/python -V
|
||||
#docker run --rm -it piston /usr/bin/python3 -V
|
||||
#docker run --rm -it piston /usr/bin/ruby --version
|
||||
#docker run --rm -it piston /usr/bin/nodejs --version
|
||||
|
||||
dir="$( cd "$( dirname "$0" )" && pwd )"
|
||||
|
||||
if [ -z "$1" ]; then
|
||||
|
@ -51,7 +46,6 @@ esac
|
|||
docker run \
|
||||
-m 64m \
|
||||
--network none \
|
||||
--cpus=".2" \
|
||||
--rm \
|
||||
--log-driver none \
|
||||
-v $filepath:/$file:ro \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue