You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 22, 2020. It is now read-only.
There is no default command and no entrypoint defined in the Dockerfile.
Thus, everybody not using the .gitlab-ci.yml using this image needs to explicitly call it with:
docker run ciricihq/gitlab-sonar-scanner gitlab-sonar-scanner
As the gitlab-sonar-scanner script is the main purpose of this image. We could define it as the default command or maybe even as the default entrypoint.
The text was updated successfully, but these errors were encountered:
Do you use it outside of gitlab? Because we don't, and that's why we didn't even think about making it available for other purposes. Although, if you think it's useful, we're open to PR.
I do not use it outside of GitLab-CI. But I can imagine usecases in which one might need to explicitly call it.
I did a PR (#34) which included a fix for this issue as well as for !36. But it has been closed in favour of another PR, which in fact beaks things (as mentioned at #38)
#34 was not accepted because there were changes not related to the binary upgrade. Also, the upgrade error is due to the sonarqube scanner binary itself, so the problem would be the same in all the other PR.
I understand why the PR was closed. Just wanted to mention this.
Offtopic, but just my two cents:
I think, that the problems with #38 exist, because you are using the "-linux-zip" which includes a pre-compiled JRE which is used by default. This JRE is compiled for GLIBC. But you are using Alpine, which uses MUSL. Because of this, this does not work.
There is no default command and no entrypoint defined in the
Dockerfile
.Thus, everybody not using the
.gitlab-ci.yml
using this image needs to explicitly call it with:docker run ciricihq/gitlab-sonar-scanner gitlab-sonar-scanner
As the
gitlab-sonar-scanner
script is the main purpose of this image. We could define it as the default command or maybe even as the default entrypoint.The text was updated successfully, but these errors were encountered: