Commit bec7ab6
committed
Fix NodeJS retrieval when Docker is unavailable
Fix #1053 by adding `_get_container_engine()` to detect the available
container runtime by probing `docker`, `singularity`, `podman`, and
`udocker` in order, caching the result with `@cached(FIFOCache(1))`
from `cachebox`. The detected engine is passed as `container_engine`
to `cwl_utils.expression.interpolate()` in `eval_expression()`,
fixing CWL JavaScript expression evaluation on systems without Docker.1 parent 73b5765 commit bec7ab6
1 file changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| 19 | + | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
| |||
113 | 115 | | |
114 | 116 | | |
115 | 117 | | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
116 | 126 | | |
117 | 127 | | |
118 | 128 | | |
| |||
740 | 750 | | |
741 | 751 | | |
742 | 752 | | |
| 753 | + | |
743 | 754 | | |
744 | 755 | | |
745 | 756 | | |
| |||
0 commit comments