This repository was archived by the owner on Sep 3, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,7 @@ RUN echo "deb-src http://ftp.us.debian.org/debian testing main" >> /etc/apt/sour
7272 futures==3.2.0 \
7373 google-api-python-client==1.6.2 \
7474 httplib2==0.10.3 \
75+ h5py==2.7.1 \
7576 ipykernel==4.5.2 \
7677 ipywidgets==6.0.0 \
7778 jinja2==2.8 \
@@ -110,8 +111,7 @@ RUN echo "deb-src http://ftp.us.debian.org/debian testing main" >> /etc/apt/sour
110111 ggplot==0.6.8 \
111112 google-cloud-dataflow==2.0.0 \
112113 lime==0.1.1.23 \
113- tensorflow==1.5.0 \
114- h5py==2.7.1 && \
114+ tensorflow==1.5.0 && \
115115 source deactivate && \
116116# Clean up before setting up the Python3 env.
117117 conda clean -tipsy && \
@@ -123,6 +123,7 @@ RUN echo "deb-src http://ftp.us.debian.org/debian testing main" >> /etc/apt/sour
123123 crcmod==1.7 \
124124 google-api-python-client==1.6.2 \
125125 httplib2==0.10.3 \
126+ h5py==2.7.1 \
126127 ipykernel==4.5.2 \
127128 ipywidgets==6.0.0 \
128129 jinja2==2.8 \
@@ -161,8 +162,7 @@ RUN echo "deb-src http://ftp.us.debian.org/debian testing main" >> /etc/apt/sour
161162 bs4==0.0.1 \
162163 ggplot==0.6.8 \
163164 lime==0.1.1.23 \
164- tensorflow==1.5.0 \
165- h5py==2.7.1 && \
165+ tensorflow==1.5.0 && \
166166# Make pip3 a copy of pip for the Python 3 environment.
167167 cp /usr/local/envs/py3env/bin/pip /usr/local/envs/py3env/bin/pip3 && \
168168# Install Python3 IPython kernel
@@ -175,7 +175,9 @@ RUN echo "deb-src http://ftp.us.debian.org/debian testing main" >> /etc/apt/sour
175175 source deactivate && \
176176# Clean up Python packages
177177 conda clean -tipsy && \
178- find $DATALAB_CONDA_DIR/envs/*/lib -type d -name tests | xargs rm -rf && \
178+ # Delete tests directories, except for h5py since importing it takes a
179+ # dependency on it's tests directory.
180+ find $DATALAB_CONDA_DIR/envs/*/lib -type d -name tests | grep -v h5py | xargs rm -rf && \
179181# Setup Node.js using LTS 6.10
180182 cd / && \
181183 mkdir -p /tools/node && \
You can’t perform that action at this time.
0 commit comments