Commit 75b6b88d authored by Ansgar Burchardt's avatar Ansgar Burchardt

Initial commit.

parents
all: dune-2.3-stamp dune-2.4-stamp dune-fufem-stamp dune-latest-stamp
clean:
rm -f -- ./*-stamp
dune-2.3-stamp: dune-2.3/Dockerfile
docker build -t dune:2.3 dune-2.3
touch $@
dune-2.4-stamp: dune-2.4/Dockerfile
docker build -t dune:2.4 dune-2.4
touch $@
dune-fufem-stamp: dune-fufem/Dockerfile dune-2.4-stamp
docker build -t dune-fufem dune-fufem
touch $@
dune-latest-stamp: dune-2.4-stamp
docker tag -f dune:2.4 dune:latest
touch $@
FROM debian:8
MAINTAINER Ansgar.Burchardt@tu-dresden.de
RUN apt-get update
RUN apt-get dist-upgrade --no-install-recommends --yes
RUN apt-get install --no-install-recommends --yes \
autoconf \
automake \
build-essential \
ca-certificates \
clang \
cmake \
coinor-libipopt-dev \
gfortran \
git \
libdune-common-dev \
libdune-geometry-dev \
libdune-grid-dev \
libdune-localfunctions-dev \
libdune-istl-dev \
libtool \
openssh-client
RUN apt-get clean
RUN adduser --disabled-password --home /dune dune
USER dune
WORKDIR /dune
FROM debian:stretch
MAINTAINER Ansgar.Burchardt@tu-dresden.de
RUN apt-get update
RUN apt-get dist-upgrade --no-install-recommends --yes
RUN apt-get install --no-install-recommends --yes \
autoconf \
automake \
build-essential \
ca-certificates \
clang \
cmake \
coinor-libipopt-dev \
gfortran \
git \
libdune-common-dev \
libdune-geometry-dev \
libdune-grid-dev \
libdune-localfunctions-dev \
libdune-istl-dev \
libtool \
openssh-client
RUN apt-get clean
# patch from commit 652c97d013df39f7192f2d5d54000c36e04fe0de
RUN sed -i -e '/check_include_files/ iinclude(CheckIncludeFiles)' /usr/share/dune/cmake/modules/FindAlberta.cmake
RUN adduser --disabled-password --home /dune dune
USER dune
WORKDIR /dune
FROM dune:2.4
RUN mkdir modules
WORKDIR /dune/modules
RUN git clone -b releases/2.4-1 https://git.imp.fu-berlin.de/agnumpde/dune-fufem.git
RUN git clone -b releases/2.4-compatible https://gitlab.dune-project.org/staging/dune-functions.git
RUN git clone https://git.imp.fu-berlin.de/agnumpde/dune-solvers.git
RUN git clone -b releases/2.4 https://gitlab.dune-project.org/pdelab/dune-typetree.git
RUN dunecontrol all
WORKDIR /dune
ENV DUNE_CONTROL_PATH=.:/dune/modules
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment