From 1cc46b1cf21536168a6448e46e4366fb43615c9b Mon Sep 17 00:00:00 2001 From: Hugo LIVET Date: Mon, 8 Jan 2024 22:10:31 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'Dockerfile'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Dockerfile b/Dockerfile index ba0b31f..5729124 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,6 +2,13 @@ FROM mcr.microsoft.com/dotnet/sdk:8.0 RUN dotnet tool install --global dotnet-sonarscanner RUN dotnet tool install --global dotnet-reportgenerator-globaltool ENV PATH="$PATH:/root/.dotnet/tools" + +RUN apt-get update \ + && apt-get install -y openjdk-11-jre-headless \ + && apt-get clean \ + && rm -rf /var/lib/apt/lists/* +ENV PATH="$PATH:/usr/lib/jvm/java-11-openjdk-amd64/bin/" + WORKDIR /build COPY . ./ \ No newline at end of file