I’ve read about some of the challenges surrounding an official SonarQube docker image; however, I think it would be extremely easy to create and maintain an official docker image for the sonar scanner cli that could be integrated into build pipelines and into services’ docker-compose files.
In fact there is an unofficial image that someone has put together here that functions the same way I’d imagine, but it would be far preferable to have an official image:
Would love this feature. Especially useful for CI pipelines.
We use the following Dockerfile within GitLab CI:
RUN apt-get update -yqq && \
apt-get install -yqq --no-install-recommends openjdk-8-jre-headless && \
rm -rf /var/lib/apt/lists/*
RUN npm config set unsafe-perm true && \
npm install -g sonarqube-scanner && \
Usage in GitLab:
- git fetch --unshallow
This seems official and do the trick:
Haven’t seen any announcement or anything, while I think this deserves some
To be clear @len this image is BETA, as are the Developer Edition and Enterprise Edition images that were released with 8.0 (and announced along with it )
Looks like a new version tag was created (4.4), how long before that version is available on DockerHub?
From what I understand, the Docker Hub guys are super busy and new requests are being back-burnered. I believe we’re going to publish an “unofficial” but still supported version in the meantime.
I can only say “soon”.