Dockerfile 858 Bytes
Newer Older
Ansgar Burchardt's avatar
Ansgar Burchardt committed
1 2 3 4
FROM duneci/base:9

USER root
WORKDIR /
Ansgar Burchardt's avatar
Ansgar Burchardt committed
5
RUN apt-get update && apt-get install --no-install-recommends --yes \
6 7 8 9 10
  gnuplot-nox \
  libscotchmetis-dev \
  libug-dev \
  locales-all \
  python-vtk6 \
Ansgar Burchardt's avatar
Ansgar Burchardt committed
11
  && apt-get clean && rm -rf /var/lib/apt/lists/*
Ansgar Burchardt's avatar
Ansgar Burchardt committed
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30

USER duneci
WORKDIR /duneci
RUN mkdir -p modules
WORKDIR /duneci/modules
RUN git clone https://gitlab.dune-project.org/core/dune-common.git
RUN git clone https://gitlab.dune-project.org/core/dune-geometry.git
RUN git clone https://gitlab.dune-project.org/core/dune-grid.git
RUN git clone https://gitlab.dune-project.org/core/dune-istl.git
RUN git clone https://gitlab.dune-project.org/core/dune-localfunctions.git
RUN ./dune-common/bin/dunecontrol all

USER root
WORKDIR /
RUN ln -s /duneci/modules/dune-common/bin/dunecontrol /usr/local/bin/

USER duneci
WORKDIR /duneci
ENV DUNE_CONTROL_PATH=.:/duneci/modules