From fb83dd1476c138067e8329ab2959f07c4c4cc26a Mon Sep 17 00:00:00 2001 From: Brad Rydzewski Date: Tue, 11 Sep 2018 18:25:27 -0700 Subject: [PATCH] set home in windows images [ci skip] --- docker/Dockerfile.windows.1709 | 2 ++ docker/Dockerfile.windows.1803 | 2 ++ 2 files changed, 4 insertions(+) diff --git a/docker/Dockerfile.windows.1709 b/docker/Dockerfile.windows.1709 index 1faea53..33d8cae 100644 --- a/docker/Dockerfile.windows.1709 +++ b/docker/Dockerfile.windows.1709 @@ -14,5 +14,7 @@ ADD windows/* /bin/ USER ContainerAdministrator RUN setx /M PATH "%PATH%;C:\Program Files\PowerShell" +ENV HOME C:\\Users\\ContainerAdministrator + SHELL ["pwsh", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] CMD [ "pwsh", "C:\\bin\\clone.ps1" ] diff --git a/docker/Dockerfile.windows.1803 b/docker/Dockerfile.windows.1803 index 59b4ff2..a68a5e3 100644 --- a/docker/Dockerfile.windows.1803 +++ b/docker/Dockerfile.windows.1803 @@ -14,5 +14,7 @@ ADD windows/* /bin/ USER ContainerAdministrator RUN setx /M PATH "%PATH%;C:\Program Files\PowerShell" +ENV HOME C:\\Users\\ContainerAdministrator + SHELL ["pwsh", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] CMD [ "pwsh", "C:\\bin\\clone.ps1" ]