On 2024-06-23 at 05:25:32-06:00, Hans Hagen via ntg-context set forth:
i just tested again an install (using the latest musl installer) on an 
alpine WSL instance and it works ok; i can also process a tex file (when 
i set the path right as reported by the installer)
\starttext test \stoptext :

mkiv lua stats  > used platform: linuxmusl-64, type: unix, binary 
subtree: texmf-linuxmusl-64
mkiv lua stats  > used engine: luametatex version: 2.11.04, 
functionality level: 2024014, format id: 703, compiler: gcc
mkiv lua stats  > tex properties: 807106 hash slots used of 2097152, 
52050 control sequences, approximate memory usage: 49 MB
mkiv lua stats  > lua properties: engine: lua 5.5, used memory: 57 MB, 
ctx: 54 MB, max: 54 MB, symbol mask: utf (τεχ)
mkiv lua stats  > runtime: 0.488 seconds, 1 processed pages, 1 shipped 
pages, 2.050 pages/second

I tried installing from scratch, and again I now face the exact same failure. I read the install log output a little closer, and noticed this:

mtx-install     | running: /opt/context/tex/texmf-linuxmusl-64/bin/context --luatex --generate
mtx-context     | redirect luametatex -> luatex: luatex --luaonly --socket "/opt/context/tex/texmf-linuxmusl-64/bin/mtxrun.lua" --generate --redirected
sh: luatex: not found

I wonder if your test environment is really equivalent to a fresh Alpine install, or if there might be any previously installations that are allowing it to appear to succeed. Does it work if you try inside Docker?

I'm not sure what else I can try. Where's that `luatex` call supposed to be found?

Sincerely,
Bryan Kaplan