From d9ea3c0571f89980236cc323afc05d2f9ec5ece3 Mon Sep 17 00:00:00 2001 From: Spencer Bryngelson Date: Fri, 19 Dec 2025 09:25:08 -0500 Subject: [PATCH 1/2] update python --- .github/Dockerfile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/Dockerfile b/.github/Dockerfile index c7ddcd95a7..176ea293f5 100644 --- a/.github/Dockerfile +++ b/.github/Dockerfile @@ -9,19 +9,23 @@ ARG COMPILER_PATH ARG COMPILER_LD_LIBRARY_PATH RUN apt-get update -y && \ + apt-get install -y software-properties-common ca-certificates gnupg && \ + add-apt-repository ppa:deadsnakes/ppa && \ + apt-get update -y && \ if [ "$TARGET" != "gpu" ]; then \ apt-get install -y \ - build-essential git make cmake gcc g++ gfortran bc\ - python3 python3-venv python3-pip \ + build-essential git make cmake gcc g++ gfortran bc \ + python3.11 python3.11-venv python3.11-distutils \ openmpi-bin libopenmpi-dev libfftw3-dev \ mpich libmpich-dev; \ else \ apt-get install -y \ - build-essential git make cmake bc\ - python3 python3-venv python3-pip \ + build-essential git make cmake bc \ + python3.11 python3.11-venv python3.11-distutils \ libfftw3-dev \ openmpi-bin libopenmpi-dev; \ fi && \ + update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 2 && \ rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* ENV OMPI_ALLOW_RUN_AS_ROOT=1 From d93ee7ebaabdbc885b9bc4d97daf70c3a5377a7d Mon Sep 17 00:00:00 2001 From: Spencer Bryngelson Date: Fri, 19 Dec 2025 11:23:32 -0500 Subject: [PATCH 2/2] update dockerfile --- .github/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/Dockerfile b/.github/Dockerfile index 176ea293f5..c6a08d8e71 100644 --- a/.github/Dockerfile +++ b/.github/Dockerfile @@ -15,13 +15,13 @@ RUN apt-get update -y && \ if [ "$TARGET" != "gpu" ]; then \ apt-get install -y \ build-essential git make cmake gcc g++ gfortran bc \ - python3.11 python3.11-venv python3.11-distutils \ + python3.11 python3.11-venv python3-pip \ openmpi-bin libopenmpi-dev libfftw3-dev \ mpich libmpich-dev; \ else \ apt-get install -y \ build-essential git make cmake bc \ - python3.11 python3.11-venv python3.11-distutils \ + python3.11 python3.11-venv python3-pip \ libfftw3-dev \ openmpi-bin libopenmpi-dev; \ fi && \