Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8b2f374

Browse filesBrowse files
committed
Python.org also now needs tls 1.2
1 parent 6003dae commit 8b2f374
Copy full SHA for 8b2f374

7 files changed

+7Lines changed: 7 additions & 0 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎2.7/windows/windowsservercore-1709/Dockerfile‎

Copy file name to clipboardExpand all lines: 2.7/windows/windowsservercore-1709/Dockerfile
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ ENV PYTHON_RELEASE 2.7.14
77

88
RUN $url = ('https://www.python.org/ftp/python/{0}/python-{1}.amd64.msi' -f $env:PYTHON_RELEASE, $env:PYTHON_VERSION); \
99
Write-Host ('Downloading {0} ...' -f $url); \
10+
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \
1011
Invoke-WebRequest -Uri $url -OutFile 'python.msi'; \
1112
\
1213
Write-Host 'Installing ...'; \
Collapse file

‎2.7/windows/windowsservercore-ltsc2016/Dockerfile‎

Copy file name to clipboardExpand all lines: 2.7/windows/windowsservercore-ltsc2016/Dockerfile
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ ENV PYTHON_RELEASE 2.7.14
77

88
RUN $url = ('https://www.python.org/ftp/python/{0}/python-{1}.amd64.msi' -f $env:PYTHON_RELEASE, $env:PYTHON_VERSION); \
99
Write-Host ('Downloading {0} ...' -f $url); \
10+
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \
1011
Invoke-WebRequest -Uri $url -OutFile 'python.msi'; \
1112
\
1213
Write-Host 'Installing ...'; \
Collapse file

‎3.6/windows/windowsservercore-1709/Dockerfile‎

Copy file name to clipboardExpand all lines: 3.6/windows/windowsservercore-1709/Dockerfile
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ ENV PYTHON_RELEASE 3.6.5
1313

1414
RUN $url = ('https://www.python.org/ftp/python/{0}/python-{1}-amd64.exe' -f $env:PYTHON_RELEASE, $env:PYTHON_VERSION); \
1515
Write-Host ('Downloading {0} ...' -f $url); \
16+
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \
1617
Invoke-WebRequest -Uri $url -OutFile 'python.exe'; \
1718
\
1819
Write-Host 'Installing ...'; \
Collapse file

‎3.6/windows/windowsservercore-ltsc2016/Dockerfile‎

Copy file name to clipboardExpand all lines: 3.6/windows/windowsservercore-ltsc2016/Dockerfile
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ ENV PYTHON_RELEASE 3.6.5
1313

1414
RUN $url = ('https://www.python.org/ftp/python/{0}/python-{1}-amd64.exe' -f $env:PYTHON_RELEASE, $env:PYTHON_VERSION); \
1515
Write-Host ('Downloading {0} ...' -f $url); \
16+
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \
1617
Invoke-WebRequest -Uri $url -OutFile 'python.exe'; \
1718
\
1819
Write-Host 'Installing ...'; \
Collapse file

‎3.7-rc/windows/windowsservercore-1709/Dockerfile‎

Copy file name to clipboardExpand all lines: 3.7-rc/windows/windowsservercore-1709/Dockerfile
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ ENV PYTHON_RELEASE 3.7.0
1313

1414
RUN $url = ('https://www.python.org/ftp/python/{0}/python-{1}-amd64.exe' -f $env:PYTHON_RELEASE, $env:PYTHON_VERSION); \
1515
Write-Host ('Downloading {0} ...' -f $url); \
16+
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \
1617
Invoke-WebRequest -Uri $url -OutFile 'python.exe'; \
1718
\
1819
Write-Host 'Installing ...'; \
Collapse file

‎3.7-rc/windows/windowsservercore-ltsc2016/Dockerfile‎

Copy file name to clipboardExpand all lines: 3.7-rc/windows/windowsservercore-ltsc2016/Dockerfile
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ ENV PYTHON_RELEASE 3.7.0
1313

1414
RUN $url = ('https://www.python.org/ftp/python/{0}/python-{1}-amd64.exe' -f $env:PYTHON_RELEASE, $env:PYTHON_VERSION); \
1515
Write-Host ('Downloading {0} ...' -f $url); \
16+
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \
1617
Invoke-WebRequest -Uri $url -OutFile 'python.exe'; \
1718
\
1819
Write-Host 'Installing ...'; \
Collapse file

‎Dockerfile-windowsservercore.template‎

Copy file name to clipboardExpand all lines: Dockerfile-windowsservercore.template
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ ENV PYTHON_RELEASE %%PLACEHOLDER%%
77

88
RUN $url = ('https://www.python.org/ftp/python/{0}/python-{1}-amd64.exe' -f $env:PYTHON_RELEASE, $env:PYTHON_VERSION); \
99
Write-Host ('Downloading {0} ...' -f $url); \
10+
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \
1011
Invoke-WebRequest -Uri $url -OutFile 'python.exe'; \
1112
\
1213
Write-Host 'Installing ...'; \

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.