Commit f7710bf
Install procps so Nextflow's task wrapper can run
The pipeline still failed after the system-prefix fix, with exit 1, empty
stdout and no traceback. The image was correct -- exit 1 (not 127/126) proves
the adapter script was found and its shebang resolved, so bin/ injection and
the interpreter were both working.
The cause was the one real line in the task log:
Command 'ps' required by nextflow to collect task metrics cannot be found
Nextflow's task wrapper shells out to `ps`, so without procps the task dies
before the process script ever runs. With PYTHONUNBUFFERED=1 set, a payload
crash would have printed something; nothing did, because Python never started.
nf-core requires procps in every container for exactly this reason.
python:3.11-slim omits it, and the pytorch base image this Dockerfile replaced
happened to include it, so the loss went unnoticed at the base-image swap.
Covered by a build-time check and a CI smoke test so it cannot regress.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent fb4a5cc commit f7710bf
2 files changed
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
85 | 88 | | |
86 | 89 | | |
87 | 90 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
13 | 20 | | |
14 | | - | |
| 21 | + | |
15 | 22 | | |
16 | 23 | | |
17 | 24 | | |
| |||
51 | 58 | | |
52 | 59 | | |
53 | 60 | | |
| 61 | + | |
54 | 62 | | |
55 | 63 | | |
56 | 64 | | |
| |||
0 commit comments