From 3b5eef4bf64650ace4a09b17017c0bd12da33a5b Mon Sep 17 00:00:00 2001 From: Alexej Kowalew <616b2f@gmail.com> Date: Wed, 13 Mar 2024 13:27:12 +0100 Subject: [PATCH] Update dotnet runtime and aspnet to v6.0.28 --- Dockerfile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2ced19b..fab332b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,5 @@ FROM debian:11-slim as build +# debian 11 = bullseye # libgssapi-krb5-2 \ # liblttng-ust0 \ @@ -84,8 +85,8 @@ RUN find /dpkg/ -type d -empty -delete && \ rm -r /dpkg/usr/share/doc/ # Retrieve .NET runtime -RUN dotnet_version='6.0.27' \ - && dotnet_sha512='448c4419e6c5b52e82eebaaf8601bbe668a0c8bb3293a6004125c7305b38072f7d2236ebffcaf4a71901b61b22ce66ae8b077af6321ba14729be385f228be04c' \ +RUN dotnet_version='6.0.28' \ + && dotnet_sha512='5e9039c6c83bed02280e6455ee9ec59c9509055ed15d20fb628eca1147c6c3b227579fbffe5d890879b8e62312facf25089b81f4c461797a1a701a220b51d698' \ && curl -SL --output dotnet.tar.gz https://dotnetcli.azureedge.net/dotnet/Runtime/$dotnet_version/dotnet-runtime-$dotnet_version-linux-x64.tar.gz \ && echo "$dotnet_sha512 dotnet.tar.gz" | sha512sum -c - \ && mkdir -p /dotnet \ @@ -93,8 +94,8 @@ RUN dotnet_version='6.0.27' \ && rm dotnet.tar.gz # Retrieve ASP.NET Core -RUN aspnet_version='6.0.27' \ - && aspnetcore_sha512='47495e387c63b10f3b52065f40738d58b5b60d260d23cff96fe6beeb290f2f329a538c8065443fa3b10ecbd3456bdae58e443118870e7b5774210caf07c3f688' \ +RUN aspnet_version='6.0.28' \ + && aspnetcore_sha512='52675b81e026b4b673aedb2d9ee99a79ccb47eab090a059ef9b95615befc034ef7fbe674b01ae813870f73dcdbcfa32906969860a464aa5d356c004b6bfb201b' \ && curl -SL --output aspnetcore.tar.gz https://dotnetcli.azureedge.net/dotnet/aspnetcore/Runtime/$aspnet_version/aspnetcore-runtime-$aspnet_version-linux-x64.tar.gz \ && echo "$aspnetcore_sha512 aspnetcore.tar.gz" | sha512sum -c - \ && mkdir -p /aspnet \ @@ -107,7 +108,7 @@ COPY --from=build ["/dpkg/", "/"] FROM runtime-deps as runtime ENV \ # .NET runtime version - DOTNET_VERSION=6.0.27 \ + DOTNET_VERSION=6.0.28 \ # Enable detection of running in a container DOTNET_RUNNING_IN_CONTAINER=true \ # Set the default console formatter to JSON @@ -119,5 +120,5 @@ ENV \ # Configure web servers to bind to port 8080 (to be able to run as nonroot) ASPNETCORE_URLS=http://+:8080 \ # ASP.NET Core version - ASPNET_VERSION=6.0.27 + ASPNET_VERSION=6.0.28 COPY --from=build ["/aspnet", "/usr/share/dotnet"]