microsoft / dotnet-framework-docker

The repo for the official docker images for .NET Framework on Windows Server Core.
https://hub.docker.com/_/microsoft-dotnet-framework
MIT License
698 stars 334 forks source link

Remove installation of .NET 5 runtime in SDK images #984

Closed mthalman closed 1 year ago

mthalman commented 2 years ago

.NET 5 was EOL in May 2022 but is still contained in the sdk images:

https://github.com/microsoft/dotnet-framework-docker/blob/678a955d49b198923cca030f91889a0037f8a413/src/sdk/4.8/windowsservercore-ltsc2022/Dockerfile#L36

This is showing up in image scanning results: EOL/Obsolete Software: Microsoft .Net Core Version 5 Detected.

This version of the runtime should be removed to ensure that the images only contain supported software.