Fixed bug in orires code that was checking too strict.
[gromacs.git] / admin / dockerfiles / ci-clang-8 / Dockerfile
blobbf33db1aaa02fe240c830e3ad46c941d6832ef59
1 # Make an image that has the basic dependencies for building GROMACS.
2 # This is the same for all other build images and gets used by those.
4 # Some optional GROMACS dependencies are obtained from the
5 # distribution, e.g.  fftw3, hwloc, blas and lapack so that the build
6 # is as fast as possible.
7 FROM ubuntu:18.04 as ci-basic-dependencies
8 ENV DEBIAN_FRONTEND=noninteractive
9 WORKDIR /tmp
10 RUN \
11   apt-get update && \
12   apt-get install -y \
13     cmake \
14     git \
15     ninja-build \
16     ccache \
17     build-essential \
18     wget \
19     moreutils \
20     rsync \
21     libfftw3-dev \
22     libhwloc-dev \
23     liblapack-dev \
24     xsltproc \
25     python3-pip
27 # Make an image that has the dependencies for building GROMACS with clang-8.
28 FROM ci-basic-dependencies as ci-clang-8
29 WORKDIR /tmp
30 RUN \
31   apt-get -y -q=2 --no-install-suggests --no-install-recommends install \
32     apt-utils \
33     software-properties-common \
34     gpg-agent && \
35   wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - && \
36   apt-add-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-8 main" && \
37   apt-get -qq update && \
38   apt-get -qqy --no-install-suggests --no-install-recommends install \
39     clang++-8 \
40     clang-tools-8 \
41     libomp-dev && \
42   rm -rf /var/lib/apt/lists/*