Update Dockerfiles for Python subpackages.
[alexxy/gromacs.git] / python_packaging / docker / gromacs-dependencies.dockerfile
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:groovy as base
9
10 # Basic packages
11 RUN apt-get update && \
12     apt-get -yq --no-install-suggests --no-install-recommends install software-properties-common build-essential && \
13     apt-get -yq --no-install-suggests --no-install-recommends install \
14         cmake \
15         git \
16         libblas-dev \
17         libfftw3-dev \
18         liblapack-dev \
19         libxml2-dev \
20         make \
21         vim \
22         wget \
23         zlib1g-dev && \
24     rm -rf /var/lib/apt/lists/*
25
26 # mpich installation layer
27 RUN apt-get update && \
28     apt-get -yq --no-install-suggests --no-install-recommends install \
29         libmpich-dev \
30         mpich && \
31     rm -rf /var/lib/apt/lists/*