From a48fd11cd6befb2c36a3071141ad51cc163cddad Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Fri, 25 Oct 2024 18:32:05 -0400 Subject: [PATCH] Hard force Windows HOME Env Var in case bash.exe invoke late Signed-off-by: Peter Zhu --- docker/ci/dockerfiles/current/build.windows2019.x64.dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker/ci/dockerfiles/current/build.windows2019.x64.dockerfile b/docker/ci/dockerfiles/current/build.windows2019.x64.dockerfile index e3477a309c..8bed3ca1c7 100644 --- a/docker/ci/dockerfiles/current/build.windows2019.x64.dockerfile +++ b/docker/ci/dockerfiles/current/build.windows2019.x64.dockerfile @@ -29,6 +29,8 @@ RUN bash.exe -c "curl https://ci.opensearch.org > /dev/null 2>&1 || echo add cer RUN bash.exe -c "curl https://artifacts.opensearch.org > /dev/null 2>&1 || echo add certificates" +ENV HOME="C:/Users/ContainerAdministrator" + WORKDIR "C:/Users/ContainerAdministrator" CMD ["powershell.exe"]