diff --git a/ci/docker_images/debian/Dockerfile b/ci/docker_images/debian/Dockerfile index 1ca6d8e5ca9d7a8df28833eec7b328ec2de88c5a..db738d7552255a36e0536ae196c09efb74a7b600 100644 --- a/ci/docker_images/debian/Dockerfile +++ b/ci/docker_images/debian/Dockerfile @@ -4,6 +4,7 @@ MAINTAINER Franck.Perignon@imag.fr # we need cmake, python ... RUN apt-get update && apt-get install -y \ cmake\ + ssh\ python-dev\ libblas-dev\ python\ @@ -19,6 +20,7 @@ RUN apt-get update && apt-get install -y \ openmpi-bin\ libopenmpi-dev\ libhdf5-openmpi-dev\ + cython\ python-numpy\ python-scipy\ python-pyopencl\ @@ -26,19 +28,23 @@ RUN apt-get update && apt-get install -y \ libfftw3-dev\ libfftw3-mpi-dev\ python-pytest\ - cython\ - wget + wget && \ + rm -rf /var/lib/apt/lists/* RUN pip install --upgrade pip RUN pip install --upgrade setuptools RUN pip install mpi4py RUN pip install sphinx RUN pip install wheel -RUN wget https://pypi.python.org/packages/22/82/64dada5382a60471f85f16eb7d01cc1a9620aea855cd665609adf6fdbb0d/h5py-2.6.0.tar.gz -RUN tar -zxvf h5py-2.6.0.tar.gz -RUN cd h5py-2.6.0 -RUN export CC=mpicc -RUN python setup.py configure --mpi --hdf5=/usr/ -RUN python setup.py install +RUN wget https://pypi.python.org/packages/22/82/64dada5382a60471f85f16eb7d01cc1a9620aea855cd665609adf6fdbb0d/h5py-2.6.0.tar.gz && \ + tar -zxvf h5py-2.6.0.tar.gz && \ + cd h5py-2.6.0 && \ + export CC=mpicc && \ + export CFLAGS="-I/usr/include/hdf5/openmpi/"&& \ + export LDFLAGS="-L /usr/lib/x86_64-linux-gnu/hdf5/openmpi/"&& \ + python setup.py configure --mpi --hdf5=/usr/ && \ + python setup.py install && \ + cd .. && \ + rm -rf h5py-2.6.0* RUN cd .. CMD ["/bin/bash"]