Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update chaste/base image for Noble Numbat #16

Merged
merged 3 commits into from
Mar 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 8 additions & 15 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# docker build --target base -t chaste/base . # Alternative: build base image
# docker run -it --rm -v chaste_data:/home/chaste chaste

ARG BASE=jammy
ARG BASE=noble
FROM ubuntu:${BASE} AS base
LABEL maintainer="Ben Evans <[email protected]>" \
author.orcid="https://orcid.org/0000-0002-1734-6070" \
Expand Down Expand Up @@ -50,19 +50,18 @@ RUN sudo wget -O /usr/share/keyrings/chaste.asc https://chaste.github.io/chaste.

# https://github.com/Chaste/dependency-modules/wiki
# Package: chaste-dependencies
# Version: 2022.04.11
# Version: xxxx.xx.xx https://github.com/Chaste/Chaste/issues/198
# Architecture: all
# Depends: cmake | scons, g++, libopenmpi-dev, petsc-dev, libhdf5-openmpi-dev, xsdcxx, libboost-serialization-dev, libboost-filesystem-dev, libboost-program-options-dev, libparmetis-dev, libmetis-dev, libxerces-c-dev, libsundials-dev, libvtk7-dev | libvtk6-dev, python3, python3-venv
# Recommends: git, valgrind, libpetsc-real3.15-dbg | libpetsc-real3.14-dbg | libpetsc-real3.12-dbg, libfltk1.1, hdf5-tools, cmake-curses-gui
# Suggests: libgoogle-perftools-dev, doxygen, graphviz, subversion, git-svn, gnuplot, paraview
# DEPRECATED: scons will be removed in the next release
# Depends: cmake, g++, libopenmpi-dev, petsc-dev, libhdf5-openmpi-dev, xsdcxx, libboost-serialization-dev, libboost-filesystem-dev, libboost-program-options-dev, libparmetis-dev, libmetis-dev, libxerces-c-dev, libsundials-dev, libvtk9-dev, python3, python3-venv
# Recommends: git, valgrind, libpetsc-real3.18-dbg, hdf5-tools, cmake-curses-gui
# Suggests: doxygen, graphviz, paraview

# Install dependencies with recommended, applicable suggested and other useful packages
RUN apt-get update && \
apt-get install -y --no-install-recommends \
chaste-dependencies \
cmake \
libvtk7-dev \
"libvtk*-dev" \
python3-dev \
python3-venv \
python3-pip \
Expand All @@ -72,20 +71,14 @@ RUN apt-get update && \
valgrind \
### libffi-dev \
"libpetsc-real*-dbg" \
# FLTK is a lightweight GUI toolkit that works with X11
# libfltk1.1 \
hdf5-tools \
cmake-curses-gui \
libgoogle-perftools-dev \
doxygen \
graphviz \
gnuplot && \
# mencoder \
# mplayer && \
graphviz && \
rm -rf /var/lib/apt/lists/*

# Fix CMake warnings: https://github.com/autowarefoundation/autoware/issues/795
RUN update-alternatives --install /usr/bin/vtk vtk /usr/bin/vtk7 7
RUN update-alternatives --install /usr/bin/vtk vtk /usr/bin/vtk9 1
# Update system to use Python3 by default
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 1
RUN update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 1
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ help:
@cat Makefile

CHASTE_IMAGE?=chaste/release
BASE?=jammy
BASE?=noble
GIT_TAG?=2021.1
# GIT_TAG?=$(git describe --abbrev=0)
CHASTE_DIR?="/home/chaste"
Expand Down
Loading