add dotnet docker

This commit is contained in:
Adrien Beaudouin 2023-08-15 03:36:01 +02:00
parent b617f08da4
commit 67a86a1cf6

View File

@ -1,10 +1,10 @@
FROM mcr.microsoft.com/dotnet/sdk:7.0 FROM mcr.microsoft.com/dotnet/sdk:7.0
RUN apt-get update && apt-get install -y ca-certificates-java && apt-get install -y \
openjdk-17-jre-headless \
unzip \
&& rm -rf /var/lib/apt/lists/*
RUN dotnet tool install --global coverlet.console RUN dotnet tool install --global coverlet.console
RUN dotnet tool install --global dotnet-coverage RUN dotnet tool install --global dotnet-coverage
RUN dotnet tool install --global dotnet-sonarscanner RUN dotnet tool install --global dotnet-sonarscanner
RUN apt-get update && apt-get install -y \
openjdk-17-jre-headless \
unzip \
&& rm -rf /var/lib/apt/lists/*