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
Support Arm64 #5070
Comments
Hi @denisa! Thanks for your research on this. Some of the linters we install have multi-architecture images, so There are some linters that don't offer this at all tho, and some that require glibc. It would be interesting to experiment with a Debian-based image, instead of an Alpine one to see if things would be easier in that case. |
my pleasure — I was waiting on the result of the discussion about collaborating with megalinter (#4591 ) to resume work on this ;-) One big reason to experiment with an other linux version might be PowerShell, for which I only found ubuntu-based images (https://hub.docker.com/_/microsoft-powershell) with supports for both and and arm. |
I can't even pull the image for arm64 on Mac M1.
Works if I pass |
Hi @YaroShkvorets ! There's no arm64 image yet. I think you're likely running the amd64 one under emulation, so I would expect some performance degradation. |
This issue has been automatically marked as stale because it has not had recent activity. If you think this issue should stay open, please remove the If you're a maintainer, you can stop the bot to mark this issue as stale in the future by adding the |
+1 |
On the M2 it seems to be having an issue even with the rosetta enabled 2024-02-12 11:25:33 [INFO] Stderr when building the file list:/bin/sh: BuildFileArrays: not found |
would love this |
Most of the people that are currently using arm and macs with processor Mx are suffering. |
Hi folks! Thanks for expressing your interest in this feature. Adding a build target would not be enough, unfortunately. The main issue to address is that some linters don't provide an arm64 build. See #1956 for an initial investigation about this. Things have improved a bit since the last message in that discussion because we refactored the Dockerfile. I think a possible way forward would be to first update the table that @denisa first drafted in #1956. We can do this by commenting on this issue directly. Any contribution is welcome! Thanks! |
Can we start to have a build with those that provides an arm64 release first? I personally think having some/most linters is better than having nothing yet. |
We would first need to assess which of the linter we ship ship an arm64 build :) |
Here is the table that @denisa kindly started:
The first step would be to update this with the current state. |
I was notified this morning that there is a PR pending (clj-kondo/clj-kondo#2289) for cljkondo/clj-kondo |
What are those who have |
I wasn’t sure about the entries with question mark — I did a quick evaluation and wrote down my conclusion. |
By the way, there are a few things that are not applicable anymore, such as Plus, we added a couple, such as |
Now, only the following lacks arm64 support:
|
Nice work @harryzcy ! Thanks for pushing this. |
I managed to fix this by adding |
@robjongbloed I think what you are experiencing is tracked by #5339 |
Is there an existing issue for this?
Current Behavior
When the image executes on an ARM64 architecture, docker warns that it is not a native image.
In my usage, the execution fails before completing the scan of my project
Expected Behavior
Docker reports that the image supports (at a minimum) amd64 and arm64 architectures.
Anything else?
Continuation of #1956
The text was updated successfully, but these errors were encountered: