From 166fb545cc16a355cf33e92e9914a19f3336f44b Mon Sep 17 00:00:00 2001 From: Hugo LIVET Date: Wed, 12 Oct 2022 09:22:10 +0000 Subject: [PATCH] Ajout docker --- Dockerfile | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 45f2f17..a5792e1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,5 @@ -FROM aosapps/drone-sonar-plugin AS base - -FROM mcr.microsoft.com/dotnet/sdk:6.0-alpine - RUN dotnet tool install --global dotnet-sonarscanner -RUN dotnet tool install --global dotnet-reportgenerator-globaltool - RUN dotnet sonarscanner begin /k:"ConsEco" /d:sonar.host.url="https://codefirst.iut.uca.fr/sonar" /d:sonar.login="sqp_ffc02968e133d03daeb917e8c2e6f243a80d087a" RUN dotnet build RUN dotnet sonarscanner end /d:sonar.login="sqp_ffc02968e133d03daeb917e8c2e6f243a80d087a" \ No newline at end of file