Sign inSign up

aloknecessary/sonar-dotnet-v10.0

By aloknecessary

•Updated 21 days ago

Custom image with .NET SDK 10, JDK 17, and dotnet-sonar scanner preinstalled

Image
Security
API management
Developer tools
1

2.1K

aloknecessary/sonar-dotnet-v10.0 repository overview

⁠SonarScanner for .NET 10

Optimized Docker image with SonarScanner for .NET preinstalled, built on the official .NET 10 SDK (GA) image.

This image is intended for CI/CD usage (GitHub Actions, Azure DevOps, GitLab CI) to run SonarQube or SonarCloud analysis on .NET projects.


⁠🔧 What's Included

  • .NET SDK 10.0 (stable, GA)
  • SonarScanner for .NET (dotnet-sonarscanner)
  • Non-root default user (sonar, UID 1001)
  • Ubuntu-based official Microsoft image
  • Multi-architecture support (amd64, arm64)

⁠📦 Image Details


⁠Supported Architectures

ArchitectureSupported
amd64✅
arm64✅

Built using Docker Buildx and published as a single multi-platform manifest.


⁠Image Tags

Image tag.NET SDKSonarScanner for .NET
6.2.010.06.2.0
11.3.010.011.3.0
latest10.011.3.0

⁠🚀 Usage

Please go to GitHub⁠ repo for usage details.

⁠Workspace Permissions

The image runs as the non-root sonar user (UID 1001). A mounted workspace may have ownership or permission settings that prevent writes.

If your runner has this issue, explicitly run the container as root:

docker run --rm --user 0 \
  -v "$(pwd):/workspace" \
  -w /workspace \
  aloknecessary/sonar-dotnet-v10.0:latest

For a GitHub Actions container job:

container:
  image: aloknecessary/sonar-dotnet-v10.0:latest
  options: --user 0

Tag summary

Content type

Image

Digest

sha256:7b42326fd…

Size

337.6 MB

Last updated

21 days ago

docker pull aloknecessary/sonar-dotnet-v10.0