Merge branch 'master' into 4878-rerun-job
[arvados.git] / doc / _includes / _example_docker.liquid
1 {
2     "name": "Example using R in a custom Docker image",
3     "components": {
4         "Rscript": {
5             "script": "run-command",
6             "script_version": "master",
7             "repository": "arvados",
8             "script_parameters": {
9                 "command": [
10                     "Rscript",
11                     "$(glob $(file $(myscript))/*.r)",
12                     "$(glob $(dir $(mydata))/*.csv)"
13                 ],
14                 "myscript": {
15                     "required": true,
16                     "dataclass": "Collection"
17                 },
18                 "mydata": {
19                     "required": true,
20                     "dataclass": "Collection"
21                 }
22             },
23             "runtime_constraints": {
24                 "docker_image": "arvados/jobs-with-r"
25             }
26         }
27     }
28 }