Commit 72ffc71
fix(docker): add coreutils so MAX_LIFETIME_SECONDS works on Wolfi base
scripts/app-start.sh invokes GNU `timeout` with --preserve-status and
--foreground when MAX_LIFETIME_SECONDS is set. The Wolfi base only ships
BusyBox `timeout`, which rejects those flags, so the server never starts
and the container restart-loops. GNU coreutils rode in for free on the old
RockyLinux base and was lost in the RockyLinux -> Wolfi switch (PR #423).
Add coreutils to the image to restore GNU `timeout`. Verified against the
real app-start.sh: the server now starts and runs for the full lifetime.
grype shows adding coreutils introduces 0 new CVEs (6 Chainguard-maintained
packages, ~10 MB).
Reported in Pylon 2657. Fixes ENG-1428.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent b887028 commit 72ffc71
3 files changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
1 | 7 | | |
2 | 8 | | |
3 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
0 commit comments