All Projects β†’ burakince β†’ docker-dotnet-sonarscanner

burakince / docker-dotnet-sonarscanner

Licence: MIT License
🐳 Sonar Scanner MsBuild Dockerfile for dotNet Projects

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to docker-dotnet-sonarscanner

Awesome Container Security
Awesome list of resources related to container security
Stars: ✭ 140 (+566.67%)
Mutual labels:  docker-container, docker-image
Uwsgi Nginx Flask Docker
Docker image with uWSGI and Nginx for Flask applications in Python running in a single container. Optionally with Alpine Linux.
Stars: ✭ 2,607 (+12314.29%)
Mutual labels:  docker-container, docker-image
Drone Ssh
Drone plugin for executing remote ssh commands
Stars: ✭ 155 (+638.1%)
Mutual labels:  docker-container, docker-image
Dockernotes
Dockerε…₯ι—¨η²ΎεŽη‰ˆ
Stars: ✭ 107 (+409.52%)
Mutual labels:  docker-container, docker-image
sbt-sonar
An sbt plugin which provides an easy way to integrate Scala projects with SonarQube.
Stars: ✭ 62 (+195.24%)
Mutual labels:  sonarqube, sonar
Docker Atom Editor
Run the Atom editor within a Docker container
Stars: ✭ 110 (+423.81%)
Mutual labels:  docker-container, docker-image
Docker Postfix
Simple SMTP server / postfix null relay host for your Docker and Kubernetes containers. Based on Alpine Linux.
Stars: ✭ 163 (+676.19%)
Mutual labels:  docker-container, docker-image
Docker Maven Plugin
A maven plugin to manage docker containers and images for integration tests.
Stars: ✭ 80 (+280.95%)
Mutual labels:  docker-container, docker-image
drupalci-sonar-jenkins
DEPRECATED - Drupal CI environment with SonarQube and Jenkins for Drupal Core code analysis.
Stars: ✭ 40 (+90.48%)
Mutual labels:  sonarqube, sonar
setup-sonar-scanner
Github Action which downloads and runs sonar-scanner cli with custom parameters to start Sonarqube scan.
Stars: ✭ 31 (+47.62%)
Mutual labels:  sonarqube, sonar-scanner
Docker Compose Lamp
A basic LAMP stack environment built using Docker Compose.
Stars: ✭ 1,284 (+6014.29%)
Mutual labels:  docker-container, docker-image
sonar-scala
A free and open-source SonarQube plugin for static code analysis of Scala projects.
Stars: ✭ 113 (+438.1%)
Mutual labels:  sonarqube, sonar
Docker Gocd Server
Docker server image for GoCD
Stars: ✭ 86 (+309.52%)
Mutual labels:  docker-container, docker-image
Docker Workshop
Introduction to Docker tutorial
Stars: ✭ 124 (+490.48%)
Mutual labels:  docker-container, docker-image
Docker Superset
Repository for Docker Image of Apache-Superset. [Docker Image: https://hub.docker.com/r/abhioncbr/docker-superset]
Stars: ✭ 86 (+309.52%)
Mutual labels:  docker-container, docker-image
Bmw Tensorflow Inference Api Cpu
This is a repository for an object detection inference API using the Tensorflow framework.
Stars: ✭ 158 (+652.38%)
Mutual labels:  docker-container, docker-image
Docker Headless Vnc Container
Collection of Docker images with headless VNC environments
Stars: ✭ 1,176 (+5500%)
Mutual labels:  docker-container, docker-image
Cabot Docker
Docker Images to build full cabot environment
Stars: ✭ 75 (+257.14%)
Mutual labels:  docker-container, docker-image
Iotwifi
Raspberry Pi (arm) wifi configuration container. Configure and control wifi connectivity with a JSON based REST api.
Stars: ✭ 236 (+1023.81%)
Mutual labels:  docker-container, docker-image
sonar-sql-plugin
SQL language (T-SQL, MySQL, Vertica and PostgreSQL dialects) plugin for SonarQube
Stars: ✭ 52 (+147.62%)
Mutual labels:  sonarqube, sonar

.Net Core Sonar Scanner on Docker Container

Sonar Scanner MsBuild Dockerfile for .Net Core Projects

Docker Pulls Docker Automated build Docker Build Status

This Image Using

Name Version
OS Debian Stretch (9)
Java OpenJDK 8 Update 171
.NET Framework Mono 5.12.0.226
.NET SDK .NET Core SDK 2.1 (2.1.301)
Sonar Scanner CLI 3.2.0.1227
Sonar Scanner MS Build 4.3.1.1372

Please check Releases Page for details.

Latest Versions

Latest Debian Latest OpenJDK Latest Mono Latest .Net SDK Latest Sonar Scanner

Using Example

First of all you need a sonarqube server. If you haven't one, run this code;

docker run -d --name sonarqube -p 9000:9000 -p 9092:9092 sonarqube

And then you need .Net Core project. If you haven't one, run this codes;

mkdir ConsoleApplication1
cd ConsoleApplication1

dotnet new console
dotnet new sln
dotnet sln ConsoleApplication1.sln add ConsoleApplication1.csproj

Take login token from sonarqube server, change working directory to project directory and run this code;

docker run --name dotnet-scanner -it --rm -v $(pwd):/project \
  -e PROJECT_KEY=ConsoleApplication1 \
  -e PROJECT_NAME=ConsoleApplication1 \
  -e PROJECT_VERSION=1.0 \
  -e HOST=http://localhost:9000 \
  -e LOGIN_KEY=CHANGE_THIS_ONE \
  burakince/docker-dotnet-sonarscanner

Note: If you have sonarqube as docker container, you must inspect sonarqube's bridge network IP address and use it in HOST variable.

docker network inspect bridge
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].