From c65686e66623391f36ee90c163d49d5554c7bc57 Mon Sep 17 00:00:00 2001 From: Matthew Falcone Date: Thu, 20 Aug 2026 16:43:52 +0100 Subject: [PATCH 1/2] Use tag to control version on install script --- scripts/install-openfoam.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install-openfoam.sh b/scripts/install-openfoam.sh index a7acc6e8..c4b22ecd 100755 --- a/scripts/install-openfoam.sh +++ b/scripts/install-openfoam.sh @@ -70,7 +70,7 @@ THIRDPARTY_DIR="${OUT_DIR}/ThirdParty-${VERSION}" # Fetch and patch OpenFOAM mkdir -p "${OPENFOAM_DIR}" if [ ! -d "${OPENFOAM_DIR}/.git" ]; then - git clone --depth=1 https://github.com/OpenFOAM/OpenFOAM-${VERSION}.git "${OPENFOAM_DIR}" + git clone --depth=1 -b version-${VERSION} https://github.com/OpenFOAM/OpenFOAM-${VERSION}.git "${OPENFOAM_DIR}" fi git -C "${OPENFOAM_DIR}" apply "${SCRIPT_DIR}/openfoam.patch" @@ -95,7 +95,7 @@ fi mkdir -p "${THIRDPARTY_DIR}" if [ ! -d "${THIRDPARTY_DIR}/.git" ]; then - git clone --depth=1 https://github.com/OpenFOAM/ThirdParty-${VERSION}.git "${THIRDPARTY_DIR}" + git clone --depth=1 -b version-${VERSION} https://github.com/OpenFOAM/ThirdParty-${VERSION}.git "${THIRDPARTY_DIR}" fi ( cd "${THIRDPARTY_DIR}" \ From 76ca8fd1c9e1797ab0caf73a686bfe203ab13c4c Mon Sep 17 00:00:00 2001 From: Matthew Falcone Date: Fri, 21 Aug 2026 09:42:06 +0100 Subject: [PATCH 2/2] Update dev container tag --- apptainer/hippo-release.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apptainer/hippo-release.def b/apptainer/hippo-release.def index b9b62678..4aa924fb 100644 --- a/apptainer/hippo-release.def +++ b/apptainer/hippo-release.def @@ -1,5 +1,5 @@ Bootstrap: oras -From: quay.io/ukaea/hippo:dev-{{ MPI }}-of{{ OPENFOAM_VERSION }}-0ec4697e70 +From: quay.io/ukaea/hippo:dev-{{ MPI }}-of{{ OPENFOAM_VERSION }}-c65686e666 %files .git /opt/hippo/.git