Browse code

Add note to Dockerfile.windows

Signed-off-by: John Howard <jhoward@microsoft.com>

John Howard authored on 2019/01/05 04:58:11
Showing 1 changed files
... ...
@@ -153,6 +153,13 @@
153 153
 
154 154
 
155 155
 # The number of build steps below are explicitly minimised to improve performance.
156
+
157
+# Extremely important - do not change the following line to reference a "specific" image, 
158
+# such as `mcr.microsoft.com/windows/servercore:ltsc2019`. If using this Dockerfile in process
159
+# isolated containers, the kernel of the host must match the container image, and hence
160
+# would fail between Windows Server 2016 (aka RS1) and Windows Server 2019 (aka RS5).
161
+# It is expected that the image `microsoft/windowsservercore:latest` is present, and matches
162
+# the hosts kernel version before doing a build. 
156 163
 FROM microsoft/windowsservercore
157 164
 
158 165
 # Use PowerShell as the default shell