Commit 265c82eb authored by Ansgar Burchardt's avatar Ansgar Burchardt

Add duneci/base images

These are useful to build packages that do not depend on the DUNE core
modules like UG or the core modules themselves.
parent c764b9f2
all: dune-2.3-stamp dune-2.4-stamp dune-fufem-stamp dune-latest-stamp
all: base-8-stamp base-9-stamp 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
base-8-stamp: base-8/Dockerfile
docker build -t duneci/base:8 base-8
touch $@
base-9-stamp: base-9/Dockerfile
docker build -t duneci/base:9 base-9
touch $@
dune-2.3-stamp: base-8-stamp dune-2.3/Dockerfile
docker build -t duneci/dune:2.3 dune-2.3
touch $@
dune-2.4-stamp: dune-2.4/Dockerfile
dune-2.4-stamp: base-9-stamp dune-2.4/Dockerfile
docker build -t duneci/dune:2.4 dune-2.4
touch $@
......
FROM debian:8
MAINTAINER Ansgar.Burchardt@tu-dresden.de
RUN apt-get update && apt-get dist-upgrade --no-install-recommends --yes
RUN apt-get install --no-install-recommends --yes \
autoconf \
automake \
bison \
build-essential \
ca-certificates \
clang \
cmake \
coinor-libipopt-dev \
flex \
gfortran \
git \
libltdl-dev \
libtool \
mpi-default-bin \
mpi-default-dev \
openssh-client \
&& apt-get clean
RUN adduser --disabled-password --home /duneci duneci
USER duneci
WORKDIR /duneci
FROM debian:stretch
MAINTAINER Ansgar.Burchardt@tu-dresden.de
RUN apt-get update && apt-get dist-upgrade --no-install-recommends --yes
RUN apt-get install --no-install-recommends --yes \
autoconf \
automake \
bison \
build-essential \
ca-certificates \
clang \
cmake \
coinor-libipopt-dev \
flex \
gfortran \
git \
libltdl-dev \
libtool \
mpi-default-bin \
mpi-default-dev \
openssh-client \
&& apt-get clean
RUN adduser --disabled-password --home /duneci duneci
USER duneci
WORKDIR /duneci
FROM debian:8
MAINTAINER Ansgar.Burchardt@tu-dresden.de
RUN apt-get update
RUN apt-get dist-upgrade --no-install-recommends --yes
FROM duneci/base:8
USER root
WORKDIR /
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
&& apt-get clean
USER duneci
WORKDIR /duneci
FROM debian:stretch
MAINTAINER Ansgar.Burchardt@tu-dresden.de
RUN apt-get update
RUN apt-get dist-upgrade --no-install-recommends --yes
FROM duneci/base:9
USER root
WORKDIR /
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
&& apt-get clean
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
USER duneci
WORKDIR /duneci
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