Commit 8cc9cab3 authored by Lukas Riedel's avatar Lukas Riedel

Update Docker environment image to v1.1

* Install package `python3-vtk7`.
* Disable command line prompts while installing packages.
* Do not install recommended packages.
parent e44079e5
......@@ -10,7 +10,7 @@ variables:
BASE_IMAGE: dorie/dune-env
# Use semantic versioning (not the version of DUNE) and bump according to
# to whether changes are backwards-compatible or not.
IMAGE_VERSION: "1.0"
IMAGE_VERSION: "1.1"
DUNE_ENV_IMAGE: ${BASE_IMAGE}:img-v${IMAGE_VERSION}
CMAKE_FLAGS:
......@@ -144,10 +144,6 @@ test:system-tests: &test
dependencies:
- build:system-tests
script:
# TODO: Move this into Docker image
- apt-get update
- DEBIAN_FRONTEND=noninteractive
apt-get install --no-install-recommends -y python3-vtk7
- $DUNECONTROL --only=dorie configure
- $DUNECONTROL --only=dorie make system_tests
artifacts:
......@@ -192,10 +188,6 @@ test:python-tests:
<<: *test
dependencies: []
script:
# TODO: Move this into Docker image
- apt-get update
- DEBIAN_FRONTEND=noninteractive
apt-get install --no-install-recommends -y python3-vtk7
- $DUNECONTROL --only=dorie configure
- $DUNECONTROL --only=dorie make test_python
......
......@@ -6,30 +6,35 @@ ARG PROCNUM=1
ARG CC=gcc
ARG CXX=g++
RUN apt-get clean && apt-get update && apt-get install -y \
clang \
cmake \
doxygen \
gcc \
g++ \
gfortran \
git \
libatlas-base-dev \
libfftw3-dev \
libfftw3-mpi-dev \
libfreetype6-dev \
libhdf5-mpi-dev \
libmetis-dev \
libmuparser-dev \
libopenmpi-dev \
libpng-dev \
libparmetis-dev \
libsuperlu-dev \
libxft-dev \
libyaml-cpp-dev \
locales \
python3-dev \
python3-pip \
# disable any prompts while installing packages
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get clean \
&& apt-get update \
&& apt-get install -y --no-install-recommends \
clang \
cmake \
doxygen \
gcc \
g++ \
gfortran \
git \
libatlas-base-dev \
libfftw3-dev \
libfftw3-mpi-dev \
libfreetype6-dev \
libhdf5-mpi-dev \
libmetis-dev \
libmuparser-dev \
libopenmpi-dev \
libpng-dev \
libparmetis-dev \
libsuperlu-dev \
libxft-dev \
libyaml-cpp-dev \
locales \
python3-dev \
python3-pip \
python3-vtk7 \
&& apt-get clean
RUN rm -rf /var/lib/apt/lists/* \
......
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