lunarmodules / luacheck

A tool for linting and static analysis of Lua code.

Home Page:https://luacheck.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Provide docker image for arm64v8 (Apple Silicon)

jottr opened this issue · comments

commented
$ 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!

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.

commented

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.