Dockerfile 933 Bytes
Newer Older
Philipp Arras's avatar
Philipp Arras committed
1
2
3
4
5
6
7
8
9
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

Philipp Arras's avatar
Test  
Philipp Arras committed
10
11
RUN apt-get install -y python-parameterized
RUN apt-get install -y python3-parameterized
12

Philipp Arras's avatar
Philipp Arras committed
13
# Python module installations
Philipp Arras's avatar
Test  
Philipp Arras committed
14
15
RUN pip install coverage git+https://gitlab.mpcdf.mpg.de/ift/pyHealpix.git
RUN pip3 install git+https://gitlab.mpcdf.mpg.de/ift/pyHealpix.git
Philipp Arras's avatar
Philipp Arras committed
16

Philipp Arras's avatar
Test  
Philipp Arras committed
17
RUN apt-get install -y python-pyfftw python3-pyfftw
Philipp Arras's avatar
Tes  
Philipp Arras committed
18

Philipp Arras's avatar
Philipp Arras committed
19
20
21
# 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
22
WORKDIR /home/testinguser