Skip to content
Snippets Groups Projects
Commit 20d84c4e authored by Franck Pérignon's avatar Franck Pérignon
Browse files

[ci skip] update dockerfile for debian

parent 147f5e93
No related branches found
No related tags found
No related merge requests found
...@@ -4,6 +4,7 @@ MAINTAINER Franck.Perignon@imag.fr ...@@ -4,6 +4,7 @@ MAINTAINER Franck.Perignon@imag.fr
# we need cmake, python ... # we need cmake, python ...
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
cmake\ cmake\
ssh\
python-dev\ python-dev\
libblas-dev\ libblas-dev\
python\ python\
...@@ -19,6 +20,7 @@ RUN apt-get update && apt-get install -y \ ...@@ -19,6 +20,7 @@ RUN apt-get update && apt-get install -y \
openmpi-bin\ openmpi-bin\
libopenmpi-dev\ libopenmpi-dev\
libhdf5-openmpi-dev\ libhdf5-openmpi-dev\
cython\
python-numpy\ python-numpy\
python-scipy\ python-scipy\
python-pyopencl\ python-pyopencl\
...@@ -26,19 +28,23 @@ RUN apt-get update && apt-get install -y \ ...@@ -26,19 +28,23 @@ RUN apt-get update && apt-get install -y \
libfftw3-dev\ libfftw3-dev\
libfftw3-mpi-dev\ libfftw3-mpi-dev\
python-pytest\ python-pytest\
cython\ wget && \
wget rm -rf /var/lib/apt/lists/*
RUN pip install --upgrade pip RUN pip install --upgrade pip
RUN pip install --upgrade setuptools RUN pip install --upgrade setuptools
RUN pip install mpi4py RUN pip install mpi4py
RUN pip install sphinx RUN pip install sphinx
RUN pip install wheel RUN pip install wheel
RUN wget https://pypi.python.org/packages/22/82/64dada5382a60471f85f16eb7d01cc1a9620aea855cd665609adf6fdbb0d/h5py-2.6.0.tar.gz 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 tar -zxvf h5py-2.6.0.tar.gz && \
RUN cd h5py-2.6.0 cd h5py-2.6.0 && \
RUN export CC=mpicc export CC=mpicc && \
RUN python setup.py configure --mpi --hdf5=/usr/ export CFLAGS="-I/usr/include/hdf5/openmpi/"&& \
RUN python setup.py install 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 .. RUN cd ..
CMD ["/bin/bash"] CMD ["/bin/bash"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment