Repository navigation
Commit 7a6a93d
Stop building the web image's frontend under QEMU (#24)
The Web Build & Push job for 633f641 on main was cancelled at GitHub's
six-hour limit. Dockerfile.web built its builder stage once per target
platform, so the arm64 leg ran `pnpm install` and `pnpm build` under
QEMU. Node crashed there with SIGILL ("qemu: uncaught target signal 4")
40 seconds into the install; the step never exited, and the job sat
idle until GitHub killed it.
dist/ is static files, identical for every architecture. The builder
stage now runs on $BUILDPLATFORM, so it is built once, natively, and
only the COPY-only nginx stage is produced per architecture: nothing
executes under emulation. Emulated, `pnpm build` alone took 260s
against 23s natively.
The job also gets a 20-minute timeout, so a hang fails in minutes
instead of holding a runner for six hours.
release.yml builds each architecture on its own native runner, where
$BUILDPLATFORM already equals the target, so release images are built
exactly as before.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent 633f641 commit 7a6a93d
3 files changed
Lines changed: 28 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
235 | | - | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
236 | 238 | | |
237 | 239 | | |
238 | 240 | | |
239 | 241 | | |
240 | 242 | | |
241 | 243 | | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
242 | 249 | | |
243 | 250 | | |
244 | 251 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
14 | 26 | | |
15 | 27 | | |
16 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
3 | 10 | | |
4 | 11 | | |
5 | 12 | | |
| |||
0 commit comments