Repository navigation
Commit f681691
committed
Fix install hang and wrong runtime command
Three bugs fixed:
1. Alpine → Debian base image (node:20-slim)
opencode-ai's npm postinstall script downloads a platform binary using
glibc detection. On Alpine (musl libc) it silently downloads the wrong
binary or hangs — a known upstream bug (anomalyco/opencode#9571). Switching to
node:20-slim (Debian) uses glibc and resolves this.
2. opencode web → opencode serve
'opencode web' attempts to open a browser. 'opencode serve' is the
headless API/UI server designed for Docker — no TTY or display required.
3. Add io.hass.* LABEL and .dockerignore
HA Supervisor expects these labels in the image. .dockerignore avoids
sending README/meta files as Docker build context.
https://claude.ai/code/session_01D6tLy8GBbwRq1QBeHD7u641 parent 7de3356 commit f681691
3 files changed
Lines changed: 17 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | 6 | | |
8 | | - | |
9 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
10 | 14 | | |
11 | 15 | | |
| 16 | + | |
12 | 17 | | |
13 | 18 | | |
14 | 19 | | |
| |||
23 | 28 | | |
24 | 29 | | |
25 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
26 | 36 | | |
27 | 37 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
321 | | - | |
| 321 | + | |
322 | 322 | | |
323 | 323 | | |
324 | 324 | | |
| |||
0 commit comments