Dockerfile 1.7 KB
Newer Older
Niclas Esser's avatar
Niclas Esser committed
1
FROM python:3.6
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42

MAINTAINER Niclas Esser "nesser@mpifr-bonn.mpg.de"

# Suppress debconf warnings
ENV DEBIAN_FRONTEND noninteractive

USER root

# basic setup of installed packages and Melanox drivers
RUN apt-get -y check && \
    apt-get -y update --fix-missing && \
    apt-get -y upgrade

# Install dependencies \
RUN apt-get --no-install-recommends -y install \
    build-essential \
    iputils-ping \
    libtool \
    gcc \
    gfortran \
    wget \
    cmake \
    libboost-all-dev \
    liblapack-dev \
    libblas-dev \
    git \
    git-lfs \
    libcfitsio-dev \
    libltdl-dev \
    gsl-bin \
    libgsl-dev \
    pkg-config \
    net-tools \
    iproute2 \
    kmod \
    ethtool \
    lsof \
    pciutils \
    python \
    numactl

Niclas Esser's avatar
Niclas Esser committed
43
### Python packages\
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
RUN pip install \
    setuptools \
    setuptools-git \
    setuptools-scm \
    pip \
    scipy \
    numpy \
    matplotlib \
    pytest \
    jinja2 \
    redis \
    tornado \
    trollius \
    future \
    coloredlogs \
    ipaddress \
    coverage \
    networkx \
    dill \
    pynvml \
    astropy \
Niclas Esser's avatar
Niclas Esser committed
65
    tabulate \
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
    omnijson==0.1.2 \
    ujson==2.0.3 \
    katpoint==0.9 \
    katcp==0.9.0 \
    kiwisolver==1.1.0 \
    nvector==0.7.4 \
    ephem==3.7.7.0 \
    spead2==1.14.0

RUN  mkdir src/ \
  && cd /src/ \
  && git clone {{ mpikat_repository }} \
  && cd mpikat \
  && git checkout {{ mpikat_branch }} \
  && python setup.py install

RUN cd src / \
  && git clone {{ provision_repository }} \
  && cd edd_provisioning \
  && git checkout {{ provision_branch }}

RUN cd /src/ \
  && git clone https://testframework:XqEEZsjbuk8bjHt8Z3pe@gitlab.mpcdf.mpg.de/nesser/bf_testframework \
  && cd bf_testframework \
  && python setup.py install

WORKDIR /root