Skip to content

Re-add Python 3.5 #105

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 17, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ ENV LANG C.UTF-8

# Versions, and expose labels for external usage
ENV PYTHON_VERSION_27 2.7.16
ENV PYTHON_VERSION_35 3.5.7
ENV PYTHON_VERSION_36 3.6.8
ENV PYTHON_VERSION_37 3.7.3
ENV PYPY_VERSION_35 pypy3.5-7.0.0
ENV CONDA_VERSION 4.6.14
LABEL python.version_27=$PYTHON_VERSION_27
LABEL python.version_35=$PYTHON_VERSION_35
LABEL python.version_36=$PYTHON_VERSION_36
LABEL python.version_37=$PYTHON_VERSION_37
LABEL pypy.version_35=$PYPY_VERSION_35
Expand Down Expand Up @@ -159,12 +161,14 @@ ENV PATH /home/docs/.pyenv/shims:$PATH:/home/docs/.pyenv/bin
# Install supported Python versions
RUN pyenv install $PYTHON_VERSION_27 && \
pyenv install $PYTHON_VERSION_37 && \
pyenv install $PYTHON_VERSION_35 && \
pyenv install $PYTHON_VERSION_36 && \
pyenv install $PYPY_VERSION_35 && \
pyenv global \
$PYTHON_VERSION_27 \
$PYTHON_VERSION_37 \
$PYTHON_VERSION_36 \
$PYTHON_VERSION_35 \
$PYPY_VERSION_35

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

RUN pyenv local $PYTHON_VERSION_35 && \
pyenv exec pip install --no-cache-dir -U pip && \
pyenv exec pip install --no-cache-dir -U setuptools && \
pyenv exec pip install --no-cache-dir --only-binary numpy,scipy numpy scipy && \
pyenv exec pip install --no-cache-dir pandas matplotlib virtualenv

RUN pyenv local $PYPY_VERSION_35 && \
pyenv exec python -m ensurepip && \
pyenv exec pip3 install --no-cache-dir -U pip && \
Expand Down