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

Provide docker image for arm64v8 (Apple Silicon) #80

Open
jottr opened this issue Sep 22, 2022 · 2 comments
Open

Provide docker image for arm64v8 (Apple Silicon) #80

jottr opened this issue Sep 22, 2022 · 2 comments

Comments

@jottr
Copy link

jottr commented Sep 22, 2022

$ uname -m 
arm64

$ docker run -i --rm ghcr.io/lunarmodules/luacheck
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested

Please add arm64 to the build matrix and publish the image to ghcr. Thanks!

@alerque
Copy link
Member

alerque commented Sep 23, 2022

I would be glad to support arm64 but am currently traveling and don't have time to look into how. Does the GitHub Actions runner we are using to build docker images have either an arch64 host option or support cross-compiling? A PR that adds the right build commands for this if supported would be welcome.

@jottr
Copy link
Author

jottr commented Oct 3, 2022

arm64 can be targeted by using qemu. There is a handy Github Action that does the heavy lifting.
Alternatively, one could simply use the docker-setup-qemu -Action.

I don't have time to create a PR right now either. But might have some in a fortnight or so.

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

No branches or pull requests

2 participants