Skip to content

Commit b1c541c

Browse files
committed
Try if curl works
1 parent ea3592c commit b1c541c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@ RUN `
4949
Set-ExecutionPolicy Bypass -Scope Process -Force; `
5050
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; `
5151
iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1')); `
52-
$msix_url = 'https://www.python.org/ftp/python/installer/python.msix'; `
53-
Invoke-WebRequest -Uri $msix_url -OutFile 'python.msix'; `
52+
curl -L -o python.msix https://www.python.org/ftp/python/installer/python.msix; `
5453
Add-AppxPackage .\python.msix
5554
SHELL ["cmd", "/S", "/C"]
5655

0 commit comments

Comments
 (0)