From 20d84c4e64a4de4c1275d89baadcdb46d314fcf2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franck=20P=C3=A9rignon?= <franck.perignon@imag.fr> Date: Fri, 13 May 2016 18:02:35 +0200 Subject: [PATCH] =?UTF-8?q?[ci=20skip]=C2=A0update=20dockerfile=20for=20de?= =?UTF-8?q?bian?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ci/docker_images/debian/Dockerfile | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/ci/docker_images/debian/Dockerfile b/ci/docker_images/debian/Dockerfile index 1ca6d8e5c..db738d755 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"] -- GitLab