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

Refactor Dockerfile templates to use .NET Fx URL variables #988

Closed mthalman closed 2 years ago

mthalman commented 2 years ago

This simplifies the runtime Dockerfile templates, allowing them to make use of variables that define the URLs to install the various versions of .NET Fx.

There was an inconsistency discovered for 4.8. The URL used for 4.8 was different between WSC 2019 and WSC 2016 Dockerfiles. The WSC 2016 Dockerfile was using a more current URL of that file. This different didn't have a functional difference since the patch was still being applied on top of the base installer. But at least now this makes things current and consistent.