Skip to content

Commit bb3e969

Browse files
committed
Windows: Update Python from 2.7 to 3.10
Because Funq now finally works on Python 3.
1 parent cd77a0a commit bb3e969

File tree

1 file changed

+2
-5
lines changed
  • windowsservercore-ltsc2019-qt5.15.2-32bit

1 file changed

+2
-5
lines changed

windowsservercore-ltsc2019-qt5.15.2-32bit/Dockerfile

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,11 @@ RUN powershell -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command \
66
&& SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
77

88
# Install Chocolatey Packages
9-
# Note: Funq doesn't work with Python3 or x64, thus we need Python2 x86.
9+
# Note: Funq requires to install x86 Python since Qt is also x86!
1010
ENV PYTHONIOENCODING "UTF-8"
1111
RUN choco install -y 7zip ccache vcredist2017 \
1212
&& choco install -y git --params "/GitAndUnixToolsOnPath /NoAutoCrlf" \
13-
&& choco install --forcex86 -y python2
14-
15-
# Install Python Packages
16-
RUN pip install future "flake8==3.7.7"
13+
&& choco install --forcex86 -y python3 --version 3.10.0
1714

1815
# Install MinGW
1916
ARG MINGW_URL="https://download.qt.io/online/qtsdkrepository/windows_x86/desktop/tools_mingw/qt.tools.win32_mingw810/8.1.0-1-202004170606i686-8.1.0-release-posix-dwarf-rt_v6-rev0.7z"

0 commit comments

Comments
 (0)