Skip to content

Commit 752c5b5

Browse files
authored
Merge pull request #1452 from oesteban/maint/python-3.7.1
[MAINT] Make sure Python 3.7.1 is installed
2 parents e7ad19f + 251c6fe commit 752c5b5

File tree

1 file changed

+16
-11
lines changed

1 file changed

+16
-11
lines changed

Dockerfile

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -103,23 +103,28 @@ RUN curl -sSLO https://repo.continuum.io/miniconda/Miniconda3-4.5.11-Linux-x86_6
103103
bash Miniconda3-4.5.11-Linux-x86_64.sh -b -p /usr/local/miniconda && \
104104
rm Miniconda3-4.5.11-Linux-x86_64.sh
105105

106-
ENV PATH=/usr/local/miniconda/bin:$PATH \
107-
LANG=C.UTF-8 \
108-
LC_ALL=C.UTF-8 \
106+
# Set CPATH for packages relying on compiled libs (e.g. indexed_gzip)
107+
ENV PATH="/usr/local/miniconda/bin:$PATH" \
108+
CPATH="/usr/local/miniconda/include/:$CPATH" \
109+
LANG="C.UTF-8" \
110+
LC_ALL="C.UTF-8" \
109111
PYTHONNOUSERSITE=1
110112

111113
# Installing precomputed python packages
112-
RUN conda install -y python=3.7; sync && \
113-
conda install -y mkl=2018.0.3 mkl-service; sync && \
114-
conda install -y numpy=1.15.4 \
114+
RUN conda install -y python=3.7.1 \
115+
mkl=2018.0.3 \
116+
mkl-service \
117+
numpy=1.15.4 \
115118
scipy=1.1.0 \
116119
scikit-learn=0.19.1 \
117-
matplotlib=2.2.0 \
118-
pandas=0.23.0 \
119-
libxml2=2.9.4 \
120-
libxslt=1.1.29 \
120+
matplotlib=2.2.2 \
121+
pandas=0.23.4 \
122+
libxml2=2.9.8 \
123+
libxslt=1.1.32 \
121124
graphviz=2.40.1 \
122-
traits=4.6.0; sync && \
125+
traits=4.6.0 \
126+
# Make sure zlib is installed
127+
zlib; sync && \
123128
chmod -R a+rX /usr/local/miniconda; sync && \
124129
chmod +x /usr/local/miniconda/bin/*; sync && \
125130
conda clean --all -y; sync && \

0 commit comments

Comments
 (0)