From a84f492f3cbc17348347becd666a9aca177df3dd Mon Sep 17 00:00:00 2001 From: yume Date: Wed, 16 Jan 2019 15:17:19 +0100 Subject: [PATCH] feat(): First commit --- Dockerfile | 14 ++++++++++++++ README.md | 11 ++++++++++- 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..f68ff16 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,14 @@ +FROM microsoft/dotnet:2.2-sdk +LABEL GUELE Anthony +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}" \ No newline at end of file diff --git a/README.md b/README.md index d3418da..f40c6e6 100644 --- a/README.md +++ b/README.md @@ -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