Closed lenovouser closed 2 months ago
Also i found what command corepack enable
not working (it's just stuck)
I'm experiencing similar issues with the arm64
version of the 22-slim
image on GitHub Actions, so it's not just the alpine version that's broken:
exec /bin/sh: exec format error
Confirmed for alpine but slim works for me:
docker run -it node:22-slim sh
Unable to find image 'node:22-slim' locally
22-slim: Pulling from library/node
Digest: sha256:dd35b71aa2abfac78734d1a2bc70416228444619c1f46239e09d3201bb4d8bc8
Status: Downloaded newer image for node:22-slim
# node
Welcome to Node.js v22.0.0.
Type ".help" for more information.
> console.log('test');
test
This doesn't affect amd64
. Until the problem is solvedm, you could get around by using docker run --platform linux/amd64
The issue is that the arm64v8 arch don't exist...yet. (Not sure why atm). So it falls back to using the arm32v7 arch which hangs.
So we have two issues here. Fix the arm64 builds and fix the arm32 image.
FWIW, the downstream infrastructure issues are fixed (and so the arm64 builds are available now).
Environment
v22.0.0
node:22-alpine
Expected Behavior
It should work
Current Behavior
Linux (Cloud Server)
lscpu
:macOS
lscpu
: