Skip to content

Commit 739562c

Browse files
committed
adding docker container hint, test 42: search.cwl
1 parent 68d85c8 commit 739562c

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

v1.0/v1.0/search.cwl

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ cwlVersion: v1.0
22
$graph:
33
- id: index
44
class: CommandLineTool
5-
baseCommand: python2
5+
baseCommand: python
66
arguments:
77
- valueFrom: input.txt
88
position: 1
@@ -12,6 +12,9 @@ $graph:
1212
- entryname: input.txt
1313
entry: $(inputs.file)
1414
- class: InlineJavascriptRequirement
15+
hints:
16+
- class: DockerRequirement
17+
dockerPull: python:2-slim
1518

1619
inputs:
1720
file: File
@@ -36,9 +39,12 @@ $graph:
3639

3740
- id: search
3841
class: CommandLineTool
39-
baseCommand: python2
42+
baseCommand: python
4043
requirements:
4144
- class: InlineJavascriptRequirement
45+
hints:
46+
- class: DockerRequirement
47+
dockerPull: python:2-slim
4248
inputs:
4349
file:
4450
type: File

0 commit comments

Comments
 (0)