From 232c0f4ae6b567be8897d2bd0c6251cd97245336 Mon Sep 17 00:00:00 2001 From: Lilian BRETON Date: Fri, 9 Dec 2022 08:29:05 +0100 Subject: [PATCH] Update 'Dockerfile' --- Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b594f4e..7ef7f23 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,8 @@ -RUN -sonar-scanner.bat -D"sonar.projectKey=BobParty" -D"sonar.sources=." -D"sonar.host.url=https://codefirst.iut.uca.fr/sonar" +RUN --rm \ + -e SONAR_HOST_URL="https://codefirst.iut.uca.fr/sonar" \ + -e SONAR_LOGIN=sqp_bef6be1353791524d291104c36283e68bfa60655 \ + -v "bob_party/src" \ + sonarsource/sonar-scanner-cli FROM mysql:8.0