Skip to content

Commit

Permalink
Add Ubuntu 22.04 container
Browse files Browse the repository at this point in the history
  • Loading branch information
rbberger committed Nov 5, 2023
1 parent 413bb82 commit 27ce6ce
Show file tree
Hide file tree
Showing 2 changed files with 104 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/continuous-integration-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
strategy:
matrix:
config:
- {tag: 'ubuntu22.04', dockerfile: 'docker/ubuntu22.04.dockerfile'}
- {tag: 'fedora38_mingw', dockerfile: 'docker/fedora38_mingw.dockerfile'}
runs-on: ubuntu-latest
steps:
Expand Down
103 changes: 103 additions & 0 deletions docker/ubuntu22.04.dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
FROM ubuntu:22.04

ENV DEBIAN_FRONTEND=noninteractive

RUN apt-get update && \
apt-get install --no-install-recommends -y software-properties-common gpg gpg-agent && \
add-apt-repository ppa:openkim/latest -y && \
apt-get update && \
apt-get upgrade --no-install-recommends -y && \
apt-get install --no-install-recommends -y \
bc \
build-essential \
ccache \
clang \
clang-format \
cmake \
cmake-curses-gui \
curl \
doxygen \
enchant-2 \
g++ \
gcc \
gfortran \
git \
hdf5-tools \
less \
libblas-dev \
libeigen3-dev \
libenchant-2-dev \
libfftw3-dev \
libgsl-dev \
libhdf5-serial-dev \
libhwloc-dev \
libjpeg-dev \
liblapack-dev \
libnetcdf-dev \
libomp-dev \
libopenblas-dev \
libnuma-dev \
libpng-dev \
libproj-dev \
libreadline-dev \
libvtk9-dev \
libyaml-dev \
libzstd-dev \
make \
mpi-default-bin \
mpi-default-dev \
ninja-build \
python3-dev \
python3-pip \
python3-pkg-resources \
python3-setuptools \
python3-virtualenv \
python3-venv \
python-is-python3 \
rsync \
ssh \
texlive \
texlive-latex-recommended \
texlive-formats-extra \
texlive-pictures \
texlive-publishers \
texlive-science \
dvipng \
latexmk \
xindy \
vim-nox \
virtualenv \
voro++-dev \
wget \
xxd \
valgrind \
gdb \
zstd \
libyaml-cpp-dev \
libkim-api-dev \
openkim-models && \
rm -rf /var/lib/apt/lists/*

###########################################################################
# Plumed
###########################################################################

ENV PLUMED_PKG_VERSION=2.8.2

RUN mkdir plumed && \
cd plumed && \
curl -L -o plumed.tar.gz https://github.com/plumed/plumed2/releases/download/v${PLUMED_PKG_VERSION}/plumed-src-${PLUMED_PKG_VERSION}.tgz && \
tar -xzf plumed.tar.gz && \
cd plumed-${PLUMED_PKG_VERSION} && \
./configure --disable-doc --prefix=/usr && \
make && \
make install && \
cd ../../ && \
rm -rvf plumed

ENV LC_ALL=C
ENV PATH=/usr/lib/ccache:$PATH
# tell OpenMPI to not try using Infiniband
ENV OMPI_MCA_btl="^openib"
# do not warn about unused components as this messes up testing
ENV OMPI_MCA_btl_base_warn_component_unused="0"

0 comments on commit 27ce6ce

Please sign in to comment.