Skip to content

Commit e417003

Browse files
authored
Re-add Python 3.5 (#105)
Re-add Python 3.5
2 parents bc963e9 + b5ea68b commit e417003

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Dockerfile

+10
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,13 @@ ENV LANG C.UTF-8
99

1010
# Versions, and expose labels for external usage
1111
ENV PYTHON_VERSION_27 2.7.16
12+
ENV PYTHON_VERSION_35 3.5.7
1213
ENV PYTHON_VERSION_36 3.6.8
1314
ENV PYTHON_VERSION_37 3.7.3
1415
ENV PYPY_VERSION_35 pypy3.5-7.0.0
1516
ENV CONDA_VERSION 4.6.14
1617
LABEL python.version_27=$PYTHON_VERSION_27
18+
LABEL python.version_35=$PYTHON_VERSION_35
1719
LABEL python.version_36=$PYTHON_VERSION_36
1820
LABEL python.version_37=$PYTHON_VERSION_37
1921
LABEL pypy.version_35=$PYPY_VERSION_35
@@ -159,12 +161,14 @@ ENV PATH /home/docs/.pyenv/shims:$PATH:/home/docs/.pyenv/bin
159161
# Install supported Python versions
160162
RUN pyenv install $PYTHON_VERSION_27 && \
161163
pyenv install $PYTHON_VERSION_37 && \
164+
pyenv install $PYTHON_VERSION_35 && \
162165
pyenv install $PYTHON_VERSION_36 && \
163166
pyenv install $PYPY_VERSION_35 && \
164167
pyenv global \
165168
$PYTHON_VERSION_27 \
166169
$PYTHON_VERSION_37 \
167170
$PYTHON_VERSION_36 \
171+
$PYTHON_VERSION_35 \
168172
$PYPY_VERSION_35
169173

170174
WORKDIR /tmp
@@ -187,6 +191,12 @@ RUN pyenv local $PYTHON_VERSION_36 && \
187191
pyenv exec pip install --no-cache-dir --only-binary numpy,scipy numpy scipy && \
188192
pyenv exec pip install --no-cache-dir pandas matplotlib virtualenv
189193

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+
190200
RUN pyenv local $PYPY_VERSION_35 && \
191201
pyenv exec python -m ensurepip && \
192202
pyenv exec pip3 install --no-cache-dir -U pip && \

0 commit comments

Comments
 (0)