@@ -40,7 +40,6 @@ RUN apt-get update \
40
40
libssl-dev \
41
41
libsqlite3-dev \
42
42
portaudio19-dev \
43
- python3-distutils \
44
43
redis-server \
45
44
software-properties-common \
46
45
ssh \
@@ -60,18 +59,22 @@ RUN apt-get update \
60
59
&& rm -rf /var/lib/apt/lists/* \
61
60
&& rm -f /var/cache/apt/archives/*.deb
62
61
63
- # ##################### Install python 3.9.13
64
62
65
- # Download python 3.9.13
66
- RUN wget https://www.python.org/ftp/python/3.9.13/Python-3.9.13.tgz
63
+ # ##################### Install python 3.10.14 for docs/docfx session
64
+
65
+ # Download python 3.10.14
66
+ RUN wget https://www.python.org/ftp/python/3.10.14/Python-3.10.14.tgz
67
67
68
68
# Extract files
69
- RUN tar -xvf Python-3.9.13 .tgz
69
+ RUN tar -xvf Python-3.10.14 .tgz
70
70
71
- # Install python 3.9.13
72
- RUN ./Python-3.9.13 /configure --enable-optimizations
71
+ # Install python 3.10.14
72
+ RUN ./Python-3.10.14 /configure --enable-optimizations
73
73
RUN make altinstall
74
74
75
+ RUN python3.10 -m venv /venv
76
+ ENV PATH /venv/bin:$PATH
77
+
75
78
# ##################### Install pip
76
79
RUN wget -O /tmp/get-pip.py 'https://bootstrap.pypa.io/get-pip.py' \
77
80
&& python3 /tmp/get-pip.py \
@@ -84,4 +87,4 @@ RUN python3 -m pip
84
87
COPY requirements.txt /requirements.txt
85
88
RUN python3 -m pip install --require-hashes -r requirements.txt
86
89
87
- CMD ["python3.8 " ]
90
+ CMD ["python3.10 " ]
0 commit comments