Debian Codegraph @

python_packaging/docker/gromacs-dependencies.dockerfile

raw
1 # Update an ubuntu image with dependencies needed to build GROMACS and dependent packages.
2 # This version of the Dockerfile installs mpich.
3
4 # docker build -t gmxapi/gromacs-dependencies-mpich -f gromacs-dependencies.dockerfile .
5
6 # This image serves as a base for integration with the gmxapi Python tools and sample code.
7
8 FROM ubuntu:jammy as base
9
10 # Basic packages
11 RUN apt-get update && \
12 DEBIAN_FRONTEND=noninteractive \
13 apt-get -yq --no-install-suggests --no-install-recommends install \
14 software-properties-common \
15 build-essential && \
16 DEBIAN_FRONTEND=noninteractive \
17 apt-get -yq --no-install-suggests --no-install-recommends install \
18 cmake \
19 git \
20 libblas-dev \
21 libfftw3-dev \
22 liblapack-dev \
23 libxml2-dev \
24 make \
25 vim \
26 wget \
27 zlib1g-dev && \
28 rm -rf /var/lib/apt/lists/*
29
30 # mpich installation layer
31 RUN apt-get update && \
32 DEBIAN_FRONTEND=noninteractive \
33 apt-get -yq --no-install-suggests --no-install-recommends install \
34 libmpich-dev \
35 mpich && \
36 rm -rf /var/lib/apt/lists/*