From cc11c44603d16fde5dcf98b5050956d2a9c9677b Mon Sep 17 00:00:00 2001 From: Jing Xu Date: Mon, 31 Aug 2020 13:50:25 -0700 Subject: [PATCH] Update image and tag parameter for Dockerfile.Windows Dockerfile.Windows has two container images, servercore and nanoserver, use seperate parameter for them. --- Dockerfile.Windows | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Dockerfile.Windows b/Dockerfile.Windows index 96e549577..31421fc2a 100644 --- a/Dockerfile.Windows +++ b/Dockerfile.Windows @@ -1,9 +1,11 @@ -ARG BASE_IMAGE=servercore -ARG BASE_IMAGE_TAG=1809 +ARG CORE_IMAGE=servercore +ARG CORE_IMAGE_TAG=1809 +ARG BUILD_IMAGE=nanoserver +ARG BUILD_IMAGE_TAG=1809 ARG REGISTRY=mcr.microsoft.com/windows -FROM ${REGISTRY}/${BASE_IMAGE}:${BASE_IMAGE_TAG} as core -FROM mcr.microsoft.com/windows/nanoserver:${BASE_IMAGE_TAG} +FROM ${REGISTRY}/${CORE_IMAGE}:${CORE_IMAGE_TAG} as core +FROM ${REGISTRY}/${BUILD_IMAGE}:${BUILD_IMAGE_TAG} LABEL description="CSI Node driver registrar" COPY ./bin/csi-node-driver-registrar.exe /csi-node-driver-registrar.exe