Skip to content

Commit

Permalink
Update dotnet runtime and aspnet to v6.0.36
Browse files Browse the repository at this point in the history
  • Loading branch information
616b2f authored Nov 13, 2024
1 parent 923cb5f commit da1e067
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -85,17 +85,17 @@ RUN find /dpkg/ -type d -empty -delete && \
rm -r /dpkg/usr/share/doc/

# Retrieve .NET runtime
RUN dotnet_version='6.0.35' \
&& dotnet_sha512='d8d10d600fb664336949576f8ec0534dbffd573f754b9e741f20812221fafcac5f509a7e1ab44e9e63fc31a7b5dbcb19e4ec1930ffd29312212dc7454977090e' \
RUN dotnet_version='6.0.36' \
&& dotnet_sha512='afb6018fcabec468ccd7ae2f1131d8c9de7f4de7645b8f0c223efbbdbfdc515fb0642a399ebfe372c02044416c4cae463c9c802cd156b9da4181efff0e33ee94' \
&& 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 \
&& tar -ozxf dotnet.tar.gz -C /dotnet \
&& rm dotnet.tar.gz

# Retrieve ASP.NET Core
RUN aspnet_version='6.0.35' \
&& aspnetcore_sha512='d86da938338a6d97250436d49340e8f114c05b46512ca562aadca6f3e77403d36468d3f34ed5f2d935c070f9e14aedf7299f5a03d2964dbd6576b9a2d3e776e8' \
RUN aspnet_version='6.0.36' \
&& aspnetcore_sha512='0e3d1dcc715bffbcb8ab8cb4fd72accbeed79ac40b7fd517961797a168f4301505044d2c1494a49b0e68103940bd6c178c8ae7bacf75f4b40ce82cc85624f6bd' \
&& 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 \
Expand All @@ -108,7 +108,7 @@ COPY --from=build ["/dpkg/", "/"]
FROM runtime-deps as runtime
ENV \
# .NET runtime version
DOTNET_VERSION=6.0.35 \
DOTNET_VERSION=6.0.36 \
# Enable detection of running in a container
DOTNET_RUNNING_IN_CONTAINER=true \
# Set the default console formatter to JSON
Expand All @@ -120,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.35
ASPNET_VERSION=6.0.36
COPY --from=build ["/aspnet", "/usr/share/dotnet"]

0 comments on commit da1e067

Please sign in to comment.