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" ]