Skip to content
This repository has been archived by the owner on Jan 25, 2025. It is now read-only.

enhancement: docker build for ARM systems #1

Open
densellp opened this issue Jan 30, 2024 · 2 comments
Open

enhancement: docker build for ARM systems #1

densellp opened this issue Jan 30, 2024 · 2 comments

Comments

@densellp
Copy link

Currently the docker file builds an x86 image, but users with apple silicon chip have issues. Here is an example of the issues that occur when attempting to build with an ARM chip.

Screenshot 2024-01-29 at 4 08 08 PM

This also brings up an issue where all the node modules are out of date, so the ARM dependancies are REALLY out of date.

Screenshot 2024-01-29 at 4 08 08 PM

That PR for updating the node modules will need to be in the upstream of the actual project, this ticket mainly focuses on the ARM compatibility.

@AstreaTSS
Copy link

AstreaTSS commented Jan 30, 2024

The image Docker is making here should be ARM actually when made on an ARM system, and most likely is - rather, what's happening here is that racket-native doesn't have great ARM support (which seems bizarre since it isn't too old, but oh well).

Perhaps forcing x86/amd64 through Docker could make things work more smoothly by making Docker use an x86 emulator, though I'm not sure.

@densellp
Copy link
Author

densellp commented Feb 2, 2024

Still didn't work, I tried enforcing linux/amd64 as a --platform and it still broke.

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

No branches or pull requests

2 participants