tDockerfile - pism - [fork] customized build of PISM, the parallel ice sheet model (tillflux branch)
(HTM) git clone git://src.adamsgaard.dk/pism
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
tDockerfile (673B)
---
1 FROM debian:buster
2 RUN apt-get update && apt-get install -y \
3 build-essential \
4 cmake \
5 curl \
6 environment-modules \
7 git \
8 libgsl-dev \
9 libnetcdf-dev \
10 libopenmpi-dev \
11 netcdf-bin \
12 pkgconf \
13 procps \
14 python
15
16 RUN useradd --create-home --system --shell=/bin/false builder && usermod --lock builder
17 USER builder
18 WORKDIR /home/builder/
19
20 RUN mkdir -p ~/.spack
21 COPY packages.yaml .spack/
22
23 RUN git clone --depth=1 https://github.com/spack/spack.git
24
25 RUN . spack/share/spack/setup-env.sh && \
26 spack install pism ^petsc~metis~hdf5~hypre~superlu-dist ^fftw~mpi precision=double