Verified Commit 60d22974 authored by Ansgar Burchardt's avatar Ansgar Burchardt
Browse files

Dockerfile needs a different `FROM` for Ubuntu 16.10...

parent 9cc7b071
Pipeline #566 passed with stages
in 45 minutes and 57 seconds
base-16.04
\ No newline at end of file
FROM ubuntu:16.10
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 \
gnuplot-nox \
libadolc-dev \
libboost-dev \
libboost-program-options-dev \
libboost-serialization-dev \
libboost-system-dev \
libgtest-dev \
libltdl-dev \
libsuitesparse-dev \
libsuperlu-dev \
libtinyxml2-dev \
libtool \
locales-all \
mpi-default-bin \
mpi-default-dev \
openssh-client \
pkg-config \
python-dev \
python3 \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
RUN adduser --disabled-password --home /duneci 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 /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 -DCMAKE_CXX_FLAGS='-O2 -g -Wall -fcolor-diagnostics -ftemplate-backtrace-limit=0'"
CMAKE_FLAGS="-DCMAKE_CXX_FLAGS='-O2 -g -Wall -fdiagnostics-color=always'"
Supports Markdown
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