From c4e220b26f425543d24c90fb319ea5aed2d408f1 Mon Sep 17 00:00:00 2001 From: Joe Wallwork Date: Fri, 20 Feb 2026 13:52:44 +0000 Subject: [PATCH 1/3] Allow pip cache to be editable in Docker image --- docker/Dockerfile.firedrake-parmmg | 3 +++ docker/Dockerfile.firedrake-parmmg_release | 3 +++ 2 files changed, 6 insertions(+) diff --git a/docker/Dockerfile.firedrake-parmmg b/docker/Dockerfile.firedrake-parmmg index 0210779..8e116a8 100644 --- a/docker/Dockerfile.firedrake-parmmg +++ b/docker/Dockerfile.firedrake-parmmg @@ -7,6 +7,9 @@ ARG BRANCH="main" WORKDIR /root +# Ensure /github/home/.cache/pip is editable by the user +RUN mkdir -p /github/home/.cache/pip && chmod -R 777 /github/home/.cache/pip + # Install Thetis RUN pip install --verbose --src . -e git+https://github.com/thetisproject/thetis.git#egg=thetis diff --git a/docker/Dockerfile.firedrake-parmmg_release b/docker/Dockerfile.firedrake-parmmg_release index c5d91f6..d7fe827 100644 --- a/docker/Dockerfile.firedrake-parmmg_release +++ b/docker/Dockerfile.firedrake-parmmg_release @@ -7,6 +7,9 @@ ARG BRANCH="main" WORKDIR /root +# Ensure /github/home/.cache/pip is editable by the user +RUN mkdir -p /github/home/.cache/pip && chmod -R 777 /github/home/.cache/pip + # Install Thetis RUN pip install --verbose --src . -e git+https://github.com/thetisproject/thetis.git#egg=thetis From 95d4b738d2f4b2f7342453afb627bbc0356e23be Mon Sep 17 00:00:00 2001 From: Joe Wallwork Date: Fri, 20 Feb 2026 13:52:58 +0000 Subject: [PATCH 2/3] Allow passing Docker tag to Makefile --- docker/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/Makefile b/docker/Makefile index 6c5d022..05f194f 100644 --- a/docker/Makefile +++ b/docker/Makefile @@ -4,7 +4,7 @@ PACKAGE ?= OPTIONS ?= NAMESPACE = ghcr.io/mesh-adaptation IMAGE = $(PACKAGE) -TAG = latest +TAG ?= USERNAME ?= TOKEN ?= From 18937d5410fc742286d70a849bb1da13e2f17bf2 Mon Sep 17 00:00:00 2001 From: Joe Wallwork Date: Fri, 20 Feb 2026 13:55:45 +0000 Subject: [PATCH 3/3] Pip install with --no-build-isolation --- .github/workflows/reusable_test_suite.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/reusable_test_suite.yml b/.github/workflows/reusable_test_suite.yml index 7c0d470..8792ca9 100644 --- a/.github/workflows/reusable_test_suite.yml +++ b/.github/workflows/reusable_test_suite.yml @@ -45,7 +45,7 @@ jobs: git submodule init git submodule update pip uninstall ${REPO_NAME} -y || true - pip install -e .[dev] + pip install --no-build-isolation .[dev] - run: make lint