Skip to content

Commit 4024a91

Browse files
authored
Merge pull request #557 from JaehunYoon/python3-io-encoding
Set PYTHONIOENCODING for python-windowsservercore
2 parents 650ac97 + 03415d1 commit 4024a91

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)