Use dotnet SDK 8.0 base image

This commit is contained in:
Simon Bruder 2024-05-09 02:27:53 +02:00
parent 855a0d121a
commit c0511109ad
Signed by: simon
GPG key ID: 347FF8699CDA0776

View file

@ -1,4 +1,4 @@
FROM mcr.microsoft.com/dotnet/core/sdk as builder FROM mcr.microsoft.com/dotnet/sdk:8.0 as builder
ENV DOTNET_CLI_TELEMETRY_OPTOUT 1 ENV DOTNET_CLI_TELEMETRY_OPTOUT 1
@ -45,7 +45,7 @@ RUN for ruleset in \
&& rm -rf ruleset \ && rm -rf ruleset \
; done ; done
FROM mcr.microsoft.com/dotnet/core/runtime FROM mcr.microsoft.com/dotnet/runtime:8.0
RUN apt-get update \ RUN apt-get update \
&& apt-get -y install --no-install-recommends \ && apt-get -y install --no-install-recommends \