Skip to content

Commit

Permalink
feat(): First commit
Browse files Browse the repository at this point in the history
  • Loading branch information
aguele committed Jan 16, 2019
1 parent 38a85e9 commit a84f492
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
14 changes: 14 additions & 0 deletions Dockerfile
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}"
11 changes: 10 additions & 1 deletion README.md
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

0 comments on commit a84f492

Please sign in to comment.