From 8b2f374fa1ea46deb744c183af71f94f72194a74 Mon Sep 17 00:00:00 2001 From: Joe Ferguson Date: Wed, 25 Apr 2018 14:01:22 -0700 Subject: [PATCH] Python.org also now needs tls 1.2 --- 2.7/windows/windowsservercore-1709/Dockerfile | 1 + 2.7/windows/windowsservercore-ltsc2016/Dockerfile | 1 + 3.6/windows/windowsservercore-1709/Dockerfile | 1 + 3.6/windows/windowsservercore-ltsc2016/Dockerfile | 1 + 3.7-rc/windows/windowsservercore-1709/Dockerfile | 1 + 3.7-rc/windows/windowsservercore-ltsc2016/Dockerfile | 1 + Dockerfile-windowsservercore.template | 1 + 7 files changed, 7 insertions(+) diff --git a/2.7/windows/windowsservercore-1709/Dockerfile b/2.7/windows/windowsservercore-1709/Dockerfile index 815ceb021..df1fc8678 100644 --- a/2.7/windows/windowsservercore-1709/Dockerfile +++ b/2.7/windows/windowsservercore-1709/Dockerfile @@ -7,6 +7,7 @@ ENV PYTHON_RELEASE 2.7.14 RUN $url = ('https://www.python.org/ftp/python/{0}/python-{1}.amd64.msi' -f $env:PYTHON_RELEASE, $env:PYTHON_VERSION); \ Write-Host ('Downloading {0} ...' -f $url); \ + [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \ Invoke-WebRequest -Uri $url -OutFile 'python.msi'; \ \ Write-Host 'Installing ...'; \ diff --git a/2.7/windows/windowsservercore-ltsc2016/Dockerfile b/2.7/windows/windowsservercore-ltsc2016/Dockerfile index adf0ab74b..adc673b2f 100644 --- a/2.7/windows/windowsservercore-ltsc2016/Dockerfile +++ b/2.7/windows/windowsservercore-ltsc2016/Dockerfile @@ -7,6 +7,7 @@ ENV PYTHON_RELEASE 2.7.14 RUN $url = ('https://www.python.org/ftp/python/{0}/python-{1}.amd64.msi' -f $env:PYTHON_RELEASE, $env:PYTHON_VERSION); \ Write-Host ('Downloading {0} ...' -f $url); \ + [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \ Invoke-WebRequest -Uri $url -OutFile 'python.msi'; \ \ Write-Host 'Installing ...'; \ diff --git a/3.6/windows/windowsservercore-1709/Dockerfile b/3.6/windows/windowsservercore-1709/Dockerfile index 8a458d7ea..1507edf30 100644 --- a/3.6/windows/windowsservercore-1709/Dockerfile +++ b/3.6/windows/windowsservercore-1709/Dockerfile @@ -13,6 +13,7 @@ ENV PYTHON_RELEASE 3.6.5 RUN $url = ('https://www.python.org/ftp/python/{0}/python-{1}-amd64.exe' -f $env:PYTHON_RELEASE, $env:PYTHON_VERSION); \ Write-Host ('Downloading {0} ...' -f $url); \ + [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \ Invoke-WebRequest -Uri $url -OutFile 'python.exe'; \ \ Write-Host 'Installing ...'; \ diff --git a/3.6/windows/windowsservercore-ltsc2016/Dockerfile b/3.6/windows/windowsservercore-ltsc2016/Dockerfile index 52528816f..c1c0833e2 100644 --- a/3.6/windows/windowsservercore-ltsc2016/Dockerfile +++ b/3.6/windows/windowsservercore-ltsc2016/Dockerfile @@ -13,6 +13,7 @@ ENV PYTHON_RELEASE 3.6.5 RUN $url = ('https://www.python.org/ftp/python/{0}/python-{1}-amd64.exe' -f $env:PYTHON_RELEASE, $env:PYTHON_VERSION); \ Write-Host ('Downloading {0} ...' -f $url); \ + [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \ Invoke-WebRequest -Uri $url -OutFile 'python.exe'; \ \ Write-Host 'Installing ...'; \ diff --git a/3.7-rc/windows/windowsservercore-1709/Dockerfile b/3.7-rc/windows/windowsservercore-1709/Dockerfile index 2be2f06ee..3d20988f6 100644 --- a/3.7-rc/windows/windowsservercore-1709/Dockerfile +++ b/3.7-rc/windows/windowsservercore-1709/Dockerfile @@ -13,6 +13,7 @@ ENV PYTHON_RELEASE 3.7.0 RUN $url = ('https://www.python.org/ftp/python/{0}/python-{1}-amd64.exe' -f $env:PYTHON_RELEASE, $env:PYTHON_VERSION); \ Write-Host ('Downloading {0} ...' -f $url); \ + [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \ Invoke-WebRequest -Uri $url -OutFile 'python.exe'; \ \ Write-Host 'Installing ...'; \ diff --git a/3.7-rc/windows/windowsservercore-ltsc2016/Dockerfile b/3.7-rc/windows/windowsservercore-ltsc2016/Dockerfile index 02463bc4a..cea305fa8 100644 --- a/3.7-rc/windows/windowsservercore-ltsc2016/Dockerfile +++ b/3.7-rc/windows/windowsservercore-ltsc2016/Dockerfile @@ -13,6 +13,7 @@ ENV PYTHON_RELEASE 3.7.0 RUN $url = ('https://www.python.org/ftp/python/{0}/python-{1}-amd64.exe' -f $env:PYTHON_RELEASE, $env:PYTHON_VERSION); \ Write-Host ('Downloading {0} ...' -f $url); \ + [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \ Invoke-WebRequest -Uri $url -OutFile 'python.exe'; \ \ Write-Host 'Installing ...'; \ diff --git a/Dockerfile-windowsservercore.template b/Dockerfile-windowsservercore.template index 239816906..6570ff653 100644 --- a/Dockerfile-windowsservercore.template +++ b/Dockerfile-windowsservercore.template @@ -7,6 +7,7 @@ ENV PYTHON_RELEASE %%PLACEHOLDER%% RUN $url = ('https://www.python.org/ftp/python/{0}/python-{1}-amd64.exe' -f $env:PYTHON_RELEASE, $env:PYTHON_VERSION); \ Write-Host ('Downloading {0} ...' -f $url); \ + [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \ Invoke-WebRequest -Uri $url -OutFile 'python.exe'; \ \ Write-Host 'Installing ...'; \ pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy