
Using Windows nanoserver container images as a base instead of the current Windows servercore image will reduce the image size by about ~10x. However, the nanoserver image lacks several things we need: - netapi32.dll - powershell - certain powershell commands - chocolatey cannot be used When building the nanoserver images, we are going to use a Windows servercore helper, in which we are going to install the necessary dependencies, and then copy them over to our nanoserver image, including necessary DLLs. Other notable changes include: - switch from wget to curl (wget was a powershell alias). - implement in code getting the DNS suffix list and DNS server list. - reimplement getting file permissions for mounttest.
4 lines
183 B
Plaintext
4 lines
183 B
Plaintext
windows/amd64/1809=mcr.microsoft.com/windows/nanoserver:1809
|
|
windows/amd64/1903=mcr.microsoft.com/windows/nanoserver:1903
|
|
windows/amd64/1909=mcr.microsoft.com/windows/nanoserver:1909
|