Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Current alpine image does not run on armhf (Raspberry Pi 4): Fatal error unreachable code #1501

Closed
leonrinkel opened this issue Jun 22, 2021 · 2 comments

Comments

@leonrinkel
Copy link

Environment

  • Platform: Linux pi-armhf 5.10.17-v7l+ #1421 SMP Thu May 27 14:00:13 BST 2021 armv7l GNU/Linux
  • Docker Version: Docker version 20.10.7, build f0df350
  • Node.js Version: v16.3.0
  • Image Tag: node:current-alpine
pi@pi-armhf:~ $ cat /proc/cpuinfo
processor       : 0
model name      : ARMv7 Processor rev 3 (v7l)
BogoMIPS        : 108.00
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xd08
CPU revision    : 3

[...]

Hardware        : BCM2711
Revision        : b03112
Serial          : 10000000bdabfa60
Model           : Raspberry Pi 4 Model B Rev 1.2

Expected Behavior

pi@pi-armhf:~ $ docker run --rm -it node:current-alpine
Welcome to Node.js v16.3.0.
Type ".help" for more information.
>

Current Behavior

pi@pi-armhf:~ $ docker run --rm -it node:current-alpine


#
# Fatal error in , line 0
# unreachable code
#
#
#
#FailureMessage Object: 0xbea0762c

Possible Solution

I used the alpine image version to shrink my dependent image, for now I'll just use the larger non-alpine version (node:current).

Steps to Reproduce

Additional Information

The non-alpine image (node:current) works on armhf. Also docker run --rm -it node:current-alpine /bin/sh executes properly on armhf. On RaspiOS arm64, both images work fine.

@leonrinkel
Copy link
Author

Just discovered that node:current-alpine3.12 works too, so I'll be using that for now.

@leonrinkel
Copy link
Author

Ok I found #1477

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant