PowerShell / PowerShell-Docker

Repository for building PowerShell Docker images
MIT License
419 stars 151 forks source link

Windows Nano Server Images for 7.4+ #800

Open Herr-Sepp opened 7 months ago

Herr-Sepp commented 7 months ago

Summary of the new feature / enhancement

Since https://github.com/PowerShell/PowerShell-Docker/commit/9f48a7b365b54d75627077f4e2cbb746656233c0 the Windows nano server images are rated as unstable.

What is the reason for this? Is it possible that we will get nano-images with a current powershell again in the future or is that no longer possible?

Is it still safe to use the 7.2 nanoimage?

Proposed technical implementation details (optional)

No response

Herr-Sepp commented 4 months ago

So https://mcr.microsoft.com/en-us/product/powershell/tags says that the tags

are not longer supported and not longer build.

But

are supported and build regulary.

But please note: lts-7.2-nanoserver-ltsc2022 and lts-nanoserver-ltsc2022 are the same Image (Powershell 7.2) even if "lts" should be 7.4. Same for lts-7.2-nanoserver-1809 and lts-nanoserver-1809.

Even lts-windowsservercore-ltsc2022 is Powershell 7.2 although there is a 7.4 image for servercore

So "lts"-tags are wrong and Powershell 7.4+ is missing for Nanoserver

Microsoft Artifact Registry
Microsoft Artifact Registry (also known as Microsoft Container Registry or MCR) Discovery Portal
VAllens commented 2 weeks ago

What is the difference between mcr.microsoft.com/powershell:7.4-windowsservercore-ltsc2022 and mcr.microsoft.com/powershell:7.4-windowsserver-ltsc2022?