Dockerfile 1007 Bytes
Newer Older
Philipp Arras's avatar
Philipp Arras committed
1
2
3
4
5
FROM debian:testing-slim

RUN apt-get update

# Debian package installations
Philipp Arras's avatar
Changes  
Philipp Arras committed
6
7
8
9
10
11
# Packages needed for NIFTy
RUN apt-get install -y git libfftw3-dev openmpi-bin libopenmpi-dev
RUN apt-get install -y python python-pip python-dev python-matplotlib python-future python-mpi4py python-scipy
RUN apt-get install -y python3 python3-pip python3-dev python3-matplotlib python3-future python3-mpi4py python3-scipy

# Packages needed for generating the documentation
Philipp Arras's avatar
Philipp Arras committed
12
13
RUN apt-get install -y python-sphinx python-sphinx-rtd-theme python-numpydoc

Philipp Arras's avatar
Changes  
Philipp Arras committed
14
15
16
# Packages needed for running tests
RUN apt-get install -y python-nose python-parameterized 
RUN apt-get install -y python3-nose python3-parameterized
17

Philipp Arras's avatar
Philipp Arras committed
18
# Python module installations
Philipp Arras's avatar
Changes  
Philipp Arras committed
19
20
RUN pip install coverage pyfftw git+https://gitlab.mpcdf.mpg.de/ift/pyHealpix.git
RUN pip3 install pyfftw git+https://gitlab.mpcdf.mpg.de/ift/pyHealpix.git
Philipp Arras's avatar
Tes  
Philipp Arras committed
21

Philipp Arras's avatar
Philipp Arras committed
22
23
24
# 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
25
WORKDIR /home/testinguser