Skip to content

Commit

Permalink
Merge pull request #69 from UM-Bridge/gs2
Browse files Browse the repository at this point in the history
Update Dockerfile to fix CI failure
  • Loading branch information
annereinarz authored Feb 27, 2024
2 parents baa4d57 + 41ff2f6 commit 06a8b99
Showing 1 changed file with 23 additions and 20 deletions.
43 changes: 23 additions & 20 deletions models/gs2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,34 @@ FROM mpioperator/openmpi
LABEL maintainer="[email protected]"
LABEL version="1.0"
LABEL description="This is Docker Image for running GS2 with GNU compilers on \
Ubuntu 20.04. This uses MPICH instead of OpenMPI to avoid issues with running \
as root."
Debian. This uses OpenMPI."

# Disable Prompt During Packages Installation
ARG DEBIAN_FRONTEND=noninteractive

RUN apt update \
&& apt install -y \
gfortran \
g++ \
make \
wget \
git \
vim \
cmake \
rsync \
curl \
python3 \
python3.8-venv \
python3-pip \
mpich \
libnetcdf-dev \
libnetcdff-dev \
libfftw3-dev \
python-is-python3
&& apt install -y \
gfortran \
g++ \
make \
wget \
git \
vim \
cmake \
rsync \
curl \
python3 \
python3-venv \
python3-pip \
libnetcdf-dev \
libnetcdff-dev \
netcdf-bin \
libfftw3-dev \
libfftw3-mpi-dev \
python-is-python3 \
openmpi-bin \
openmpi-doc \
libopenmpi-dev

RUN echo 'alias python=python3' >> $HOME/.bashrc
RUN echo 'alias pip=pip3' >> $HOME/.bashrc
Expand Down

0 comments on commit 06a8b99

Please sign in to comment.