set home in windows images [ci skip]

This commit is contained in:
Brad Rydzewski 2018-09-11 18:25:27 -07:00
parent d1d9dc0de1
commit fb83dd1476
2 changed files with 4 additions and 0 deletions

View File

@ -14,5 +14,7 @@ ADD windows/* /bin/
USER ContainerAdministrator USER ContainerAdministrator
RUN setx /M PATH "%PATH%;C:\Program Files\PowerShell" RUN setx /M PATH "%PATH%;C:\Program Files\PowerShell"
ENV HOME C:\\Users\\ContainerAdministrator
SHELL ["pwsh", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] SHELL ["pwsh", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
CMD [ "pwsh", "C:\\bin\\clone.ps1" ] CMD [ "pwsh", "C:\\bin\\clone.ps1" ]

View File

@ -14,5 +14,7 @@ ADD windows/* /bin/
USER ContainerAdministrator USER ContainerAdministrator
RUN setx /M PATH "%PATH%;C:\Program Files\PowerShell" RUN setx /M PATH "%PATH%;C:\Program Files\PowerShell"
ENV HOME C:\\Users\\ContainerAdministrator
SHELL ["pwsh", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] SHELL ["pwsh", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
CMD [ "pwsh", "C:\\bin\\clone.ps1" ] CMD [ "pwsh", "C:\\bin\\clone.ps1" ]