From 3bcf58236619f4c2902157ce4deaaaf44ca6f128 Mon Sep 17 00:00:00 2001 From: John Howard Date: Fri, 4 Jan 2019 11:58:11 -0800 Subject: [PATCH] Add note to Dockerfile.windows Signed-off-by: John Howard --- Dockerfile.windows | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Dockerfile.windows b/Dockerfile.windows index 0624fc600e..0412f88660 100644 --- a/Dockerfile.windows +++ b/Dockerfile.windows @@ -153,6 +153,13 @@ # The number of build steps below are explicitly minimised to improve performance. + +# Extremely important - do not change the following line to reference a "specific" image, +# such as `mcr.microsoft.com/windows/servercore:ltsc2019`. If using this Dockerfile in process +# isolated containers, the kernel of the host must match the container image, and hence +# would fail between Windows Server 2016 (aka RS1) and Windows Server 2019 (aka RS5). +# It is expected that the image `microsoft/windowsservercore:latest` is present, and matches +# the hosts kernel version before doing a build. FROM microsoft/windowsservercore # Use PowerShell as the default shell