-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
24 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
FROM microsoft/dotnet:2.2-sdk | ||
LABEL GUELE Anthony <[email protected]> | ||
LABEL version="2.2" | ||
|
||
# Install the java runtime environment 8 | ||
RUN apt-get update && apt-get install openjdk-8-jre -y | ||
|
||
# Install the sonar scanner for .netCore | ||
RUN dotnet tool install --global dotnet-sonarscanner --version 4.3.1 | ||
|
||
# Install the coverlet console | ||
RUN dotnet tool install --global coverlet.console | ||
|
||
ENV PATH="/root/.dotnet/tools:${PATH}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,10 @@ | ||
docker-dotnet-sdk-sonar | ||
This image is made to build .net core projects into continuous intégration process. This image based on dotnet sdk image with Java JRE 8, Coverlet console and dotnet-sonarscanner. | ||
|
||
## Base Image: | ||
microsoft/dotnet:2.2-sdk | ||
|
||
## Tools: | ||
|
||
* JRE Java 8 | ||
* Sonar-scanner 4.3.1 pour dotnet | ||
* coverlet.console 1.4.0 |