docker/windows: Download Python installer as python3-installer
Having a binary called 'python3' anywhere that might accidentally end up in PATH is asking for trouble.
This commit is contained in:
parent
a86020a9bf
commit
ddf9f8962f
@ -12,9 +12,9 @@ Start-Process C:\vs_buildtools.exe -ArgumentList '--quiet --wait --norestart --n
|
||||
Remove-Item C:\vs_buildtools.exe -Force
|
||||
|
||||
Write-Host "Installing Python"
|
||||
Invoke-WebRequest -Uri $python_dl_url -OutFile C:\python3.exe
|
||||
Start-Process C:\python3.exe -ArgumentList '/quiet InstallAllUsers=1 PrependPath=1' -Wait
|
||||
Remove-Item C:\python3.exe -Force
|
||||
Invoke-WebRequest -Uri $python_dl_url -OutFile C:\python3-installer.exe
|
||||
Start-Process C:\python3-installer.exe -ArgumentList '/quiet InstallAllUsers=1 PrependPath=1' -Wait
|
||||
Remove-Item C:\python3-installer.exe -Force
|
||||
|
||||
Write-Host "Installing Git"
|
||||
Invoke-WebRequest -Uri $git_url -OutFile C:\mingit.zip
|
||||
|
Loading…
x
Reference in New Issue
Block a user