Hi Team, This is Abhiraditya and I have been using Sonarqube on x86 arch server before to optimize the cost I decided to move with the arm64 instance that is t4g, after some research I got to know it does support arm architecture, and I started using it alongside bitbucket runner and specified it in the yml file, (something like this)
Digest:
Status: Downloaded newer image for sonarsource/sonarqube-scan:2.0.1
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
exec /pipe.sh: exec format error
what can be the possible issue here?? because I cant find dedicated sonarqube:arm64 image..
Please guide.. Thank you.
Hi Abhiraditya and welcome to the community!
Based on the error message, this pipe was not built to work on ARM architecture. The pipe is built by SonarSource, so you will need to reach out to their support team to ask if they can develop it to work on ARM.
This is from the pipe's repo's README:
https://bitbucket.org/sonarsource/sonarqube-scan/src/master/
Support
To get help with this pipe, or to report issues or feature requests, please get in touch on our community forum.
If you are reporting an issue, please include:
- the version of the pipe
- relevant logs and error messages
- steps to reproduce
In the meantime, if SonarSource has a CLI that can do what the pipe does and if that CLI works on ARM, you can use it instead. If that CLI is not preinstalled already in the Docker image you use as a build container, you would need to install it first by adding the necessary commands in your repo's bitbucket-pipelines.yml file.
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.