Skip to content

Commit

Permalink
Update dotnet runtime and aspnet to v6.0.29
Browse files Browse the repository at this point in the history
  • Loading branch information
616b2f authored Apr 10, 2024
1 parent 3b5eef4 commit c0425f3
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.28' \
&& dotnet_sha512='5e9039c6c83bed02280e6455ee9ec59c9509055ed15d20fb628eca1147c6c3b227579fbffe5d890879b8e62312facf25089b81f4c461797a1a701a220b51d698' \
RUN dotnet_version='6.0.29' \
&& dotnet_sha512='c9fc66d47e7c5ed77f13d03bd3a6d09f99560bd432aa308392e0604bdf2a378f66f836184dca4a678052989e6e51a5535225de337c32a4a4e17a67abdc554ffa' \
&& 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.28' \
&& aspnetcore_sha512='52675b81e026b4b673aedb2d9ee99a79ccb47eab090a059ef9b95615befc034ef7fbe674b01ae813870f73dcdbcfa32906969860a464aa5d356c004b6bfb201b' \
RUN aspnet_version='6.0.29' \
&& aspnetcore_sha512='6dc21e1a8dd597df9c1135065f7350bbde9cc040c3079ec7850b0e5f254051b883c6c6e0056682d2963ec74dadff8eb32d82c13b35c9088f3d7c055d3d3f0863' \
&& 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.28 \
DOTNET_VERSION=6.0.29 \
# 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.28
ASPNET_VERSION=6.0.29
COPY --from=build ["/aspnet", "/usr/share/dotnet"]

0 comments on commit c0425f3

Please sign in to comment.