Dockerfile 840 Bytes
Newer Older
Philipp Arras's avatar
Philipp Arras committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
FROM debian:testing-slim

RUN apt-get update

# Debian package installations
RUN apt-get install -y git libfftw3-dev openmpi-bin libopenmpi-dev python python-pip python-dev python-nose python-numpy python-matplotlib python-future python-mpi4py python-scipy
RUN apt-get install -y python3 python3-pip python3-dev python3-nose python3-numpy python3-matplotlib python3-future python3-mpi4py python3-scipy
RUN apt-get install -y python-sphinx python-sphinx-rtd-theme python-numpydoc

# Python module installations
RUN pip install parameterized coverage pyfftw git+https://gitlab.mpcdf.mpg.de/ift/pyHealpix.git
RUN pip3 install parameterized coverage pyfftw git+https://gitlab.mpcdf.mpg.de/ift/pyHealpix.git

# Create user (openmpi does not like to be run as root)
RUN useradd -ms /bin/bash testinguser
USER testinguser
Philipp Arras's avatar
Philipp Arras committed
17
WORKDIR /home/testinguser