Unable to get sonar scan on ARM64 runner

We are using https://github.com/SonarSource/sonarcloud-github-action to get our sonar report for python projects. I tried to run it on ARM64 runner but it is failing with below error.

InvalidBaseImagePlatform: Base image sonarsource/sonar-scanner-cli:10.0 was pulled with platform “linux/amd64”, expected “linux/arm64” for current build (line 1)

Does it support ARM64 runners if yes how to enable it?

Hey there.

It is in our backlog to add support.

SCANDOCKER-26

Any ETA when this support will be added?

Q3 seems like a safe bet since we want to introduce support to analyze C and C++ code on Linux ARM64. I don’t have any more precise timelines to share.

1 Like

Just curious, will there be any announcements regarding future support for Linux/ARM64 on SonarCloud?
My team has the same issue running a Sonar report for our Python project.
It would be great to have further information released.

Thx

Hello,

Thanks for your patience. Unless I’m missing something, Linux/ARM64 context is supported by our Scanner CLI (see SonarScanner CLI | SonarQube Cloud Documentation). You should have no problem to scan your Python project if you download the correct version of the Scanner CLI.

Alex