Commit fb0f5ee1 authored by Ansgar Burchardt's avatar Ansgar Burchardt

add new duneci/base:18.04 image

parent 4ab8abe8
Pipeline #1091 canceled with stages
in 32 minutes and 17 seconds
......@@ -15,6 +15,7 @@ pull base distributions:
- docker pull debian:stretch
- docker pull debian:buster
- docker pull ubuntu:16.04
- docker pull ubuntu:18.04
only:
- master@ansgar/dune-docker
......@@ -60,6 +61,13 @@ base:16.04:
only:
- master@ansgar/dune-docker
base:18.04:
stage: stage1
script:
- ./bin/duneci-build-docker-image duneci/base:18.04 base-common base-18.04
only:
- master@ansgar/dune-docker
base:8-backports:
stage: stage2
script:
......
......@@ -13,6 +13,7 @@ The current images are:
| duneci/base:9 | debian:9 | Debian 9 with gcc 6.3, clang 3.8, cmake 3.7 |
| duneci/base:10 | debian:10 | Debian 9 with gcc 7, clang 4.0, cmake 3.7 |
| duneci/base:16.04 | ubuntu:16.04 | Ubuntu LTS 16.04 with gcc 5.4.0, clang 3.8.0, cmake 3.5.1 |
| duneci/base:18.04 | ubuntu:18.04 | Ubuntu LTS 18.04 with gcc 7.3, clang 6, cmake 3.10.2 |
| duneci/dune:2.3 | duneci/base:8 | DUNE 2.3 core modules (Debian packages) |
| duneci/dune:2.4 | duneci/base:16.04 | DUNE 2.4 core modules (Debian packages) |
| duneci/dune:2.5 | duneci/base:9 | DUNE 2.5 core and staging modules (Debian packages) |
......
FROM ubuntu:18.04
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 \
cmake \
coinor-libipopt-dev \
curl \
flex \
gfortran \
git \
git-lfs \
gnuplot-nox \
libadolc-dev \
libalberta-dev \
libarpack++2-dev \
libboost-dev \
libboost-program-options-dev \
libboost-serialization-dev \
libboost-system-dev \
libgtest-dev \
libltdl-dev \
libscotchmetis-dev \
libscotchparmetis-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 \
python3-dev \
python3-matplotlib \
python3-mpi4py \
python3-numpy \
python3-pip \
python3-pytest \
python3-scipy \
vc-dev \
libgmp-dev \
libeigen3-dev \
&& 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
COPY opts.clang opts.gcc opts.gcc.c++17 /duneci/
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/
CMAKE_FLAGS="-DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DCMAKE_C_COMPILER=/usr/bin/clang -DCXX_MAX_STANDARD=17 -DCMAKE_CXX_FLAGS='-O2 -g -Wall -fcolor-diagnostics -ftemplate-backtrace-limit=0' ${DUNECI_PARALLEL:+-DDUNE_MAX_TEST_CORES=${DUNECI_PARALLEL}} -DCMAKE_INSTALL_PREFIX=/duneci/install"
CMAKE_FLAGS="-DCMAKE_CXX_COMPILER=/usr/bin/g++ -DCMAKE_C_COMPILER=/usr/bin/gcc -DCMAKE_CXX_FLAGS='-O2 -g -Wall -fdiagnostics-color=always' ${DUNECI_PARALLEL:+-DDUNE_MAX_TEST_CORES=${DUNECI_PARALLEL}} -DCMAKE_INSTALL_PREFIX=/duneci/install"
CMAKE_FLAGS="-DCMAKE_CXX_COMPILER=/usr/bin/g++ -DCMAKE_C_COMPILER=/usr/bin/gcc -DCXX_MAX_STANDARD=17 -DCMAKE_CXX_FLAGS='-O2 -g -Wall -fdiagnostics-color=always' ${DUNECI_PARALLEL:+-DDUNE_MAX_TEST_CORES=${DUNECI_PARALLEL}} -DCMAKE_INSTALL_PREFIX=/duneci/install"
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