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
27 # Make an image that has the dependencies for building GROMACS with clang-8.
28 FROM ci-basic-dependencies as ci-clang-8
31 apt-get -y -q=2 --no-install-suggests --no-install-recommends install \
33 software-properties-common \
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 \
42 rm -rf /var/lib/apt/lists/*