Commit 0d8c0f9
fix: pin yarn@4.12.0 in image and chmod -R corepack cache
Two issues causing 10+ min yarn install retries in sandbox:
1. chmod 777 only set permissions on /tmp/corepack/ root, not the
v1/ subdirectory tree created by corepack prepare as root. The
sandbox user couldn't write to v1/ (needed for lastKnownGood.json).
Fix: chmod -R 777.
2. yarn@stable installed 4.16.0, but rhdh-plugins pins yarn@4.12.0
in package.json. Corepack re-downloaded at runtime, wasting time
and requiring network + write access. Fix: pin to 4.12.0.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent ca90b48 commit 0d8c0f9
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
34 | 40 | | |
35 | 41 | | |
36 | | - | |
| 42 | + | |
37 | 43 | | |
38 | | - | |
| 44 | + | |
39 | 45 | | |
40 | 46 | | |
41 | 47 | | |
| |||
0 commit comments