StefanScherer / dockerfiles-windows

Various Dockerfiles for Windows Containers
MIT License
1.1k stars 396 forks source link

Check base image version #428

Closed StefanScherer closed 4 years ago

StefanScherer commented 4 years ago

I started with this gist https://gist.github.com/StefanScherer/de02a89b4d6ea0e330678c222b4e8270 to check if a Windows Server is up to date.

Then I thought, ok that small script can also be used during a docker build or in an entrypoint during runtime of a Windows container to check if we're using an up to date base image.