Dockerfile 1.48 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM debian:buster
MAINTAINER Ansgar.Burchardt@tu-dresden.de
RUN rm -f /etc/apt/apt.conf.d/docker-gzip-indexes \
  && rm -rf /var/lib/apt/lists/*
RUN apt-get update && apt-get dist-upgrade --no-install-recommends --yes \
  && apt-get install --no-install-recommends --yes \
  autoconf \
  automake \
  bison \
  build-essential \
  ca-certificates \
  clang-4.0 \
  cmake \
  coinor-libipopt-dev \
  curl \
  flex \
  g++-7 \
  gcc-7 \
  gfortran \
  git \
Ansgar Burchardt's avatar
Ansgar Burchardt committed
21
  git-lfs \
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
  gnuplot-nox \
  libadolc-dev \
  libalberta-dev \
  libboost-dev \
  libboost-program-options-dev \
  libboost-serialization-dev \
  libboost-system-dev \
  libgtest-dev \
  libltdl-dev \
  libscotchmetis-dev \
  libsuitesparse-dev \
  libsuperlu-dev \
  libtinyxml2-dev \
  libtool \
  locales-all \
  mpi-default-bin \
  mpi-default-dev \
  ninja-build \
  openssh-client \
  pkg-config \
  python-dev \
  python-numpy \
  python-vtk6 \
  python3 \
46
47
48
  python3-dev \
  python3-matplotlib \
  python3-mpi4py \
49
  python3-numpy \
50
51
52
  python3-pip \
  python3-pytest \
  python3-scipy \
Ansgar Burchardt's avatar
Ansgar Burchardt committed
53
  vc-dev \
54
55
56
57
58
59
60
  && apt-get clean && rm -rf /var/lib/apt/lists/*
RUN adduser --disabled-password --home /duneci --uid 50000 duneci
USER duneci
WORKDIR /duneci
RUN mkdir -p /duneci/bin /duneci/modules
ENV DUNE_CONTROL_PATH=.:/duneci/modules
ENV PATH=/duneci/bin:$PATH
61
COPY opts.clang opts.gcc opts.gcc.c++17 /duneci/
62
63
64
65
COPY dune-ctest /duneci/bin/
RUN ln -s dune-ctest /duneci/bin/duneci-ctest
COPY duneci-install-module /duneci/bin/
COPY duneci-standard-test /duneci/bin/