Skip to content

Commit

Permalink
Bump Docker base to Ubunutu 22.04. (#2172)
Browse files Browse the repository at this point in the history
Update Gmsh, PETSc, SLEPc, HDF5 , xtensor snd MPICH versions.
  • Loading branch information
garth-wells committed May 12, 2022
1 parent 20ff1b1 commit 91676a3
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,26 +42,26 @@
#


ARG GMSH_VERSION=4_9_3
ARG GMSH_VERSION=4_10_1
ARG HDF5_SERIES=1.12
ARG HDF5_PATCH=1
ARG HDF5_PATCH=2
ARG PYBIND11_VERSION=2.9.2
ARG PETSC_VERSION=3.17.0
ARG SLEPC_VERSION=3.17.0
ARG PETSC_VERSION=3.17.1
ARG SLEPC_VERSION=3.17.1
ARG ADIOS2_VERSION=2.8.0
ARG PYVISTA_VERSION=0.34.1
ARG NUMPY_VERSION=1.21.5
ARG KAHIP_VERSION=3.14
ARG XTENSOR_VERSION=0.24.1
ARG XTENSOR_VERSION=0.24.2
ARG XTL_VERSION=0.7.4

ARG MPICH_VERSION=4.0.1
ARG MPICH_VERSION=4.0.2
ARG OPENMPI_SERIES=4.1
ARG OPENMPI_PATCH=3

########################################

FROM ubuntu:21.10 as dev-env
FROM ubuntu:22.04 as dev-env
LABEL maintainer="fenics-project <fenics-support@googlegroups.org>"
LABEL description="FEniCS testing and development environment with PETSc real, complex, 32-bit and 64-bit modes"

Expand Down Expand Up @@ -121,7 +121,6 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
libboost-timer-dev \
liblapack-dev \
libopenblas-dev \
llvm-9 \
ninja-build \
pkg-config \
python3-dev \
Expand Down Expand Up @@ -174,8 +173,7 @@ RUN if [ "$MPI" = "mpich" ]; then \
# - First set of packages are required to build and run DOLFINx Python.
# - Second set of packages are recommended and/or required to build
# documentation or run tests.
# LLVM_CONFIG required on aarch64, should be removed long-term.
RUN LLVM_CONFIG=/usr/bin/llvm-config-9 pip3 install --no-cache-dir cffi mpi4py numba && \
RUN pip3 install --no-cache-dir cffi mpi4py numba && \
pip3 install --no-cache-dir cppimport flake8 isort jupytext matplotlib myst-parser pybind11==${PYBIND11_VERSION} pytest pytest-xdist sphinx sphinx_rtd_theme

# Upgrade numpy via pip. Exclude binaries to avoid conflicts with libblas
Expand Down

0 comments on commit 91676a3

Please sign in to comment.