Commit 278d25d
committed
examples/think: install Node 22 in the container image
The think example's exec tool advertises the container backend
as "Full Linux userland: git, npm, node, the test runner",
which is what the model reads when it picks a backend. The
image actually only had `git` — `npm test` and `node script.mjs`
would land on a "command not found" the first time the model
fell through from the shell backend.
Mirror examples/container's Dockerfile: pull Node 22 LTS from
NodeSource, keep the standard NodeSource key dance, drop the
apt lists afterwards. ~120 MB heavier; worth it for an example
whose whole job is running real build/test workflows.1 parent c4bb97f commit 278d25d
1 file changed
Lines changed: 15 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
15 | 22 | | |
16 | 23 | | |
17 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
18 | 32 | | |
19 | 33 | | |
20 | 34 | | |
| |||
0 commit comments