From 64e5516df95db3e55f20b889690451c8c0c701da Mon Sep 17 00:00:00 2001 From: Tahmid Alam Date: Thu, 4 May 2023 14:53:39 -0700 Subject: [PATCH] changing windows servercore to nanoserver for --- cns/windows.Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cns/windows.Dockerfile b/cns/windows.Dockerfile index 52bec2e7b6..24a9b2aa4c 100644 --- a/cns/windows.Dockerfile +++ b/cns/windows.Dockerfile @@ -7,7 +7,7 @@ WORKDIR /usr/local/src COPY . . RUN GOOS=windows CGO_ENABLED=0 go build -a -o /usr/local/bin/azure-cns.exe -ldflags "-X main.version="$VERSION" -X "$CNS_AI_PATH"="$CNS_AI_ID"" -gcflags="-dwarflocationlists=true" cns/service/*.go -FROM mcr.microsoft.com/windows/servercore:${OS_VERSION} +FROM mcr.microsoft.com/windows/nanoserver:${OS_VERSION} COPY --from=builder /usr/local/src/cns/kubeconfigtemplate.yaml kubeconfigtemplate.yaml COPY --from=builder /usr/local/src/npm/examples/windows/setkubeconfigpath.ps1 setkubeconfigpath.ps1 COPY --from=builder /usr/local/bin/azure-cns.exe azure-cns.exe