12345678910111213 |
- {
- "timeout": 30,
- "docker_base": "run -i --cpus=1 -m=512M --rm --network none --mount source=yunlotso,target=/usr/src/myapp/so -v {tmp_file}:/usr/src/myapp/{runner_filename} -w /usr/src/myapp {image} sh -c",
- "docker_runner": {
- "go": {
- "ext": "go",
- "filename": "main.go",
- "image": "yunlot-golang:v1.5",
- "cmd": "/usr/local/go/bin/./go run main.go",
- "build": "/usr/local/go/bin/./go build -buildmode=plugin -o so/{name}.so main.go"
- }
- }
- }
|