@@ -9,11 +9,13 @@ ENV LANG C.UTF-8
9
9
10
10
# Versions, and expose labels for external usage
11
11
ENV PYTHON_VERSION_27 2.7.16
12
+ ENV PYTHON_VERSION_35 3.5.7
12
13
ENV PYTHON_VERSION_36 3.6.8
13
14
ENV PYTHON_VERSION_37 3.7.3
14
15
ENV PYPY_VERSION_35 pypy3.5-7.0.0
15
16
ENV CONDA_VERSION 4.6.14
16
17
LABEL python.version_27=$PYTHON_VERSION_27
18
+ LABEL python.version_35=$PYTHON_VERSION_35
17
19
LABEL python.version_36=$PYTHON_VERSION_36
18
20
LABEL python.version_37=$PYTHON_VERSION_37
19
21
LABEL pypy.version_35=$PYPY_VERSION_35
@@ -159,12 +161,14 @@ ENV PATH /home/docs/.pyenv/shims:$PATH:/home/docs/.pyenv/bin
159
161
# Install supported Python versions
160
162
RUN pyenv install $PYTHON_VERSION_27 && \
161
163
pyenv install $PYTHON_VERSION_37 && \
164
+ pyenv install $PYTHON_VERSION_35 && \
162
165
pyenv install $PYTHON_VERSION_36 && \
163
166
pyenv install $PYPY_VERSION_35 && \
164
167
pyenv global \
165
168
$PYTHON_VERSION_27 \
166
169
$PYTHON_VERSION_37 \
167
170
$PYTHON_VERSION_36 \
171
+ $PYTHON_VERSION_35 \
168
172
$PYPY_VERSION_35
169
173
170
174
WORKDIR /tmp
@@ -187,6 +191,12 @@ RUN pyenv local $PYTHON_VERSION_36 && \
187
191
pyenv exec pip install --no-cache-dir --only-binary numpy,scipy numpy scipy && \
188
192
pyenv exec pip install --no-cache-dir pandas matplotlib virtualenv
189
193
194
+ RUN pyenv local $PYTHON_VERSION_35 && \
195
+ pyenv exec pip install --no-cache-dir -U pip && \
196
+ pyenv exec pip install --no-cache-dir -U setuptools && \
197
+ pyenv exec pip install --no-cache-dir --only-binary numpy,scipy numpy scipy && \
198
+ pyenv exec pip install --no-cache-dir pandas matplotlib virtualenv
199
+
190
200
RUN pyenv local $PYPY_VERSION_35 && \
191
201
pyenv exec python -m ensurepip && \
192
202
pyenv exec pip3 install --no-cache-dir -U pip && \
0 commit comments