How to run a SonarQube analysis of .NET Core solution in a Linux container?
问题 I would like to run SonarQube analysis in a Linux container using their new support for dotnet global tools. I wonder though where is configuration (server URL, user credentials) located in such case? 回答1: This works for me nicely: FROM microsoft/dotnet:2.1.300-sdk RUN apt-get update && apt-get install -y openjdk-8-jre RUN dotnet tool install --global dotnet-sonarscanner --version 4.3.1 COPY SonarQube.Analysis.xml /root/.dotnet/tools/.store/dotnet-sonarscanner/4.3.1/dotnet-sonarscanner/4.3.1