.NET Sonarqube Scanner Docker image running on Alpine Linux
1.8K
This Docker image (maurosoft1973/alpine-net-sonarqube-scanner) is based on the minimal Alpine Linux with .NET Version v7.0.18.
This image include the latest sonarqube scanner for .Net
:aarch64 - 64 bit ARM:x86_64 - 64 bit Intel/AMD (x86_64/amd64):latest latest branch based (Automatic Architecture Selection):aarch64 latest 64 bit ARM:x86_64 latest 64 bit Intel/AMD:test test branch based (Automatic Architecture Selection):test-aarch64 test 64 bit ARM:test-x86_64 test 64 bit Intel/AMD:7.0.18 7.0.18 branch based (Automatic Architecture Selection):7.0.18-aarch64 7.0.18 64 bit ARM:7.0.18-x86_64 7.0.18 64 bit Intel/AMD:7.0.18-3.17.3 7.0.18-3.17.3 branch based (Automatic Architecture Selection):7.0.18-3.17.3-aarch64 7.0.18-3.17.3 64 bit ARM:7.0.18-3.17.3-x86_64 7.0.18-3.17.3 64 bit Intel/AMDThis image creates containers that allow you to scan .net project inside container with Sonarqube.
LC_ALL: default locale (default en_GB.UTF-8)TIMEZONE: default timezone (default Europe/Brussels)SHELL_TERMINAL: shell container (default /bin/sh)This job use the image maurosoft1973/alpine-net-sonarqube-scanner for scan project and send report to Sonarqube
quality:
stage: test
image: maurosoft1973/alpine-net-sonarqube-scanner
services:
- name: mcr.microsoft.com/mssql/server:2017-latest
alias: db
variables:
SONAR_USER_HOME: "${CI_PROJECT_DIR}/.sonar"
GIT_DEPTH: "0"
allow_failure: true
only:
- master
- merge_request
needs: ["unit-test","integration-test"]
cache:
key: "${CI_JOB_NAME}"
paths:
- .sonar/cache
script:
- dotnet sonarscanner begin /k:"$SONAR_PROJECT" /d:sonar.login="$SONAR_TOKEN" /d:sonar.host.url="$SONAR_HOST_URL" /d:sonar.cs.vscoveragexml.reportsPaths=coverage.xml
- dotnet build --no-incremental
- dotnet-coverage collect 'dotnet test' -f xml -o 'coverage.xml'
- dotnet sonarscanner end /d:sonar.login="$SONAR_TOKEN"
Content type
Image
Digest
sha256:1532cb87d…
Size
222.5 MB
Last updated
over 2 years ago
docker pull maurosoft1973/alpine-net-sonarqube-scanner