Skip to content

Commit 03415d1

Browse files
committed
Set PYTHONIOENCODING for python-windowsservercore
1 parent 650ac97 commit 03415d1

File tree

9 files changed

+27
-0
lines changed

9 files changed

+27
-0
lines changed

3.10-rc/windows/windowsservercore-1809/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ FROM mcr.microsoft.com/windows/servercore:1809
88

99
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
1010

11+
# https://github.com/docker-library/python/pull/557
12+
ENV PYTHONIOENCODING UTF-8
13+
1114
ENV PYTHON_VERSION 3.10.0a1
1215
ENV PYTHON_RELEASE 3.10.0
1316

3.10-rc/windows/windowsservercore-ltsc2016/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ FROM mcr.microsoft.com/windows/servercore:ltsc2016
88

99
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
1010

11+
# https://github.com/docker-library/python/pull/557
12+
ENV PYTHONIOENCODING UTF-8
13+
1114
ENV PYTHON_VERSION 3.10.0a1
1215
ENV PYTHON_RELEASE 3.10.0
1316

3.7/windows/windowsservercore-1809/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ FROM mcr.microsoft.com/windows/servercore:1809
88

99
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
1010

11+
# https://github.com/docker-library/python/pull/557
12+
ENV PYTHONIOENCODING UTF-8
13+
1114
ENV PYTHON_VERSION 3.7.9
1215
ENV PYTHON_RELEASE 3.7.9
1316

3.7/windows/windowsservercore-ltsc2016/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ FROM mcr.microsoft.com/windows/servercore:ltsc2016
88

99
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
1010

11+
# https://github.com/docker-library/python/pull/557
12+
ENV PYTHONIOENCODING UTF-8
13+
1114
ENV PYTHON_VERSION 3.7.9
1215
ENV PYTHON_RELEASE 3.7.9
1316

3.8/windows/windowsservercore-1809/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ FROM mcr.microsoft.com/windows/servercore:1809
88

99
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
1010

11+
# https://github.com/docker-library/python/pull/557
12+
ENV PYTHONIOENCODING UTF-8
13+
1114
ENV PYTHON_VERSION 3.8.6
1215
ENV PYTHON_RELEASE 3.8.6
1316

3.8/windows/windowsservercore-ltsc2016/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ FROM mcr.microsoft.com/windows/servercore:ltsc2016
88

99
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
1010

11+
# https://github.com/docker-library/python/pull/557
12+
ENV PYTHONIOENCODING UTF-8
13+
1114
ENV PYTHON_VERSION 3.8.6
1215
ENV PYTHON_RELEASE 3.8.6
1316

3.9/windows/windowsservercore-1809/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ FROM mcr.microsoft.com/windows/servercore:1809
88

99
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
1010

11+
# https://github.com/docker-library/python/pull/557
12+
ENV PYTHONIOENCODING UTF-8
13+
1114
ENV PYTHON_VERSION 3.9.0
1215
ENV PYTHON_RELEASE 3.9.0
1316

3.9/windows/windowsservercore-ltsc2016/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ FROM mcr.microsoft.com/windows/servercore:ltsc2016
88

99
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
1010

11+
# https://github.com/docker-library/python/pull/557
12+
ENV PYTHONIOENCODING UTF-8
13+
1114
ENV PYTHON_VERSION 3.9.0
1215
ENV PYTHON_RELEASE 3.9.0
1316

Dockerfile-windowsservercore.template

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ FROM mcr.microsoft.com/windows/servercore:%%PLACEHOLDER%%
22

33
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
44

5+
# https://github.com/docker-library/python/pull/557
6+
ENV PYTHONIOENCODING UTF-8
7+
58
ENV PYTHON_VERSION %%PLACEHOLDER%%
69
ENV PYTHON_RELEASE %%PLACEHOLDER%%
710

0 commit comments

Comments
 (0)
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