Skip to content

Commit 7721d31

Browse files
committed
Revert unnecessary changes on the choco install in base test
1 parent 7bd735b commit 7721d31

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

ci/docker/python-wheel-windows-test-vs2022-base.dockerfile

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,11 @@ RUN `
4242

4343
# Install choco CLI
4444
#
45-
# We switch into Powershell just for this two commands and switch back to cmd
45+
# We switch into Powershell just for this command and switch back to cmd
4646
# See https://chocolatey.org/install#completely-offline-install
4747
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
4848
RUN `
49-
Set-ExecutionPolicy Bypass -Scope Process -Force; `
50-
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; `
51-
iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
52-
49+
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
5350
SHELL ["cmd", "/S", "/C"]
5451

5552
# Install git, wget, minio

0 commit comments

Comments
 (0)