File tree Expand file tree Collapse file tree 6 files changed +12
-6
lines changed Expand file tree Collapse file tree 6 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 1
1
FROM microsoft/nanoserver
2
2
3
- SHELL ["powershell" , "-Command" , "$ErrorActionPreference = 'Stop';" ]
3
+ # $ProgressPreference: https://github.com/PowerShell/PowerShell/issues/2138#issuecomment-251261324
4
+ SHELL ["powershell" , "-Command" , "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';" ]
4
5
5
6
# no Git installed (intentionally)
6
7
# -- Nano Server is "Windows Slim"
Original file line number Diff line number Diff line change 1
1
FROM microsoft/windowsservercore
2
2
3
- SHELL ["powershell" , "-Command" , "$ErrorActionPreference = 'Stop';" ]
3
+ # $ProgressPreference: https://github.com/PowerShell/PowerShell/issues/2138#issuecomment-251261324
4
+ SHELL ["powershell" , "-Command" , "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';" ]
4
5
5
6
# install Git (especially for "go get")
6
7
ENV GIT_VERSION 2.9.2
Original file line number Diff line number Diff line change 1
1
FROM microsoft/nanoserver
2
2
3
- SHELL ["powershell" , "-Command" , "$ErrorActionPreference = 'Stop';" ]
3
+ # $ProgressPreference: https://github.com/PowerShell/PowerShell/issues/2138#issuecomment-251261324
4
+ SHELL ["powershell" , "-Command" , "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';" ]
4
5
5
6
# no Git installed (intentionally)
6
7
# -- Nano Server is "Windows Slim"
Original file line number Diff line number Diff line change 1
1
FROM microsoft/windowsservercore
2
2
3
- SHELL ["powershell" , "-Command" , "$ErrorActionPreference = 'Stop';" ]
3
+ # $ProgressPreference: https://github.com/PowerShell/PowerShell/issues/2138#issuecomment-251261324
4
+ SHELL ["powershell" , "-Command" , "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';" ]
4
5
5
6
# install Git (especially for "go get")
6
7
ENV GIT_VERSION 2.9.2
Original file line number Diff line number Diff line change 1
1
FROM microsoft/nanoserver
2
2
3
- SHELL ["powershell" , "-Command" , "$ErrorActionPreference = 'Stop';" ]
3
+ # $ProgressPreference: https://github.com/PowerShell/PowerShell/issues/2138#issuecomment-251261324
4
+ SHELL ["powershell" , "-Command" , "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';" ]
4
5
5
6
# no Git installed (intentionally)
6
7
# -- Nano Server is "Windows Slim"
Original file line number Diff line number Diff line change 1
1
FROM microsoft/windowsservercore
2
2
3
- SHELL ["powershell" , "-Command" , "$ErrorActionPreference = 'Stop';" ]
3
+ # $ProgressPreference: https://github.com/PowerShell/PowerShell/issues/2138#issuecomment-251261324
4
+ SHELL ["powershell" , "-Command" , "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';" ]
4
5
5
6
# install Git (especially for "go get")
6
7
ENV GIT_VERSION 2.9.2
You can’t perform that action at this time.
0 commit comments