Support for arm64? #1956
Replies: 7 comments 4 replies
-
+1 on the idea. I'm a arm64/v8 and arm/v7 fan. I think the trick there is that every linter would have to support arm64 or be custom-built during an arm64 container image build. That's no small effort IMO. I have a toolkit image that I build cross-platform (here's what the Dockerifle looks like to deal w/ multiplatform) and it was some serious work. Super-Linter is many more tools then that. (here's some notes I took on that process) @htrendafilov I'm on a M1 Pro and it works fine on Docker Desktop because QEMU emulation is built in, so a If you're using something other than Docker Desktop, you can google how to enable QEMU for that Linux distro. |
Beta Was this translation helpful? Give feedback.
-
I'm adding some more details on an attempt I made today to build the Dockerfile on arm64, for when someone wants to attempt a PR. This is a much bigger PR from what I can tell (which is what I was saying in https://github.com/github/super-linter/discussions/1956#discussioncomment-2347889). The current build assumes x86_64. An arm64 build shouldn't assume the docker build server or the Actions runner has QEMU/Rosetta enabled (to emulate x86_64 on arm64). Every tool used or built needs to be for arm64. Things that would need to be included in an arm64 PR:
|
Beta Was this translation helpful? Give feedback.
-
For reference, here is where the docker images stand on =/21/23: With arm:
Without arm: |
Beta Was this translation helpful? Give feedback.
-
As for the scripts, I parametrized them on a branch in my fork. probably ready to go
probably not compatible
to be investigated
|
Beta Was this translation helpful? Give feedback.
-
Note sure if this is helpful, I tried to summarize in a table the arm64 compatibility (2nd column) and the images in which it is used (3rd and 4th columns) The intention being to see if prioritizing the slim image helps define an MVP
|
Beta Was this translation helpful? Give feedback.
-
terragrunt is now multi arch (alpine-docker/terragrunt#25) |
Beta Was this translation helpful? Give feedback.
-
Can you please open a new feature request for this, so we can track this workstream? Thanks! |
Beta Was this translation helpful? Give feedback.
-
Are there any plans for this image to be multi-arch? /ARM support/
Sometimes it's convenient to be able to run it locally and with new Macs with ARM processor I couldn't do it.
Beta Was this translation helpful? Give feedback.
All reactions