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