From e1a167fc338d9ffb675cfbe5959212b1e777d14b Mon Sep 17 00:00:00 2001 From: jpayne3506 Date: Wed, 5 Nov 2025 11:30:30 -0600 Subject: [PATCH] test: npm on hpc base image --- npm/windows.Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/npm/windows.Dockerfile b/npm/windows.Dockerfile index dab7b6017b..cdd47328e0 100644 --- a/npm/windows.Dockerfile +++ b/npm/windows.Dockerfile @@ -8,9 +8,10 @@ COPY . . RUN GOOS=windows CGO_ENABLED=0 go build -v -o /usr/local/bin/azure-npm.exe -ldflags "-s -w -X main.version="$VERSION" -X "$NPM_AI_PATH"="$NPM_AI_ID"" -gcflags="-dwarflocationlists=true" npm/cmd/*.go # intermediate for win-ltsc2022 -FROM mcr.microsoft.com/windows/servercore@sha256:45952938708fbde6ec0b5b94de68bcdec3f8c838be018536b1e9e5bd95e6b943 as windows +FROM --platform=windows/${ARCH} mcr.microsoft.com/oss/kubernetes/windows-host-process-containers-base-image@sha256:b4c9637e032f667c52d1eccfa31ad8c63f1b035e8639f3f48a510536bf34032b AS windows COPY --from=builder /usr/local/src/npm/examples/windows/kubeconfigtemplate.yaml kubeconfigtemplate.yaml COPY --from=builder /usr/local/src/npm/examples/windows/setkubeconfigpath.ps1 setkubeconfigpath.ps1 COPY --from=builder /usr/local/src/npm/examples/windows/setkubeconfigpath-capz.ps1 setkubeconfigpath-capz.ps1 COPY --from=builder /usr/local/bin/azure-npm.exe npm.exe CMD ["npm.exe", "start" "--kubeconfig=.\\kubeconfig"] +