[llvm] [Github] Bump tooling containers to 26.04 (PR #224052)

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 16 10:59:38 PDT 2026


https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/224052

>From 7f0718604ef040813caffa016d52ff8997e3f169 Mon Sep 17 00:00:00 2001
From: Aiden Grossman <aidengrossman at google.com>
Date: Wed, 16 Sep 2026 15:32:30 +0000
Subject: [PATCH 1/2] [Github] Bump tooling containers to 26.04

Mainly to pull in a new CMake version.
---
 .../containers/github-action-ci-tooling/Dockerfile          | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/containers/github-action-ci-tooling/Dockerfile b/.github/workflows/containers/github-action-ci-tooling/Dockerfile
index 8791643331e89..c293faf31ca6e 100644
--- a/.github/workflows/containers/github-action-ci-tooling/Dockerfile
+++ b/.github/workflows/containers/github-action-ci-tooling/Dockerfile
@@ -2,7 +2,7 @@ ARG LLVM_VERSION=23.1.0
 # FIXME: Use "${LLVM_VERSION%%.*}" instead of "LLVM_VERSION_MAJOR" once we update runners to Ubuntu-26.04 with Buildah >= 1.37
 ARG LLVM_VERSION_MAJOR=23
 
-FROM docker.io/library/ubuntu:24.04 at sha256:c4a8d5503dfb2a3eb8ab5f807da5bc69a85730fb49b5cfca2330194ebcc41c7b AS llvm-downloader
+FROM docker.io/library/ubuntu:26.04 at sha256:61ebaa5cc23ca45450db85eac015435199ec569e28ec222ea13f2aed2110b8a6 AS llvm-downloader
 ARG LLVM_VERSION
 ARG LLVM_VERSION_MAJOR
 
@@ -19,7 +19,7 @@ RUN apt-get update && \
         LLVM-${LLVM_VERSION}-Linux-X64/bin/git-clang-format && \
     rm llvm.tar.xz
 
-FROM docker.io/library/ubuntu:24.04 at sha256:c4a8d5503dfb2a3eb8ab5f807da5bc69a85730fb49b5cfca2330194ebcc41c7b AS minimal
+FROM docker.io/library/ubuntu:26.04 at sha256:61ebaa5cc23ca45450db85eac015435199ec569e28ec222ea13f2aed2110b8a6 AS minimal
 # Create a new user with id 1001 as that is the user id that
 # Github Actions uses to perform the checkout action.
 RUN useradd gha -u 1001 -m -s /bin/bash
@@ -129,7 +129,7 @@ USER gha
 
 ADD github-automation.py /usr/local/bin/
 
-FROM docker.io/library/ubuntu:24.04 at sha256:c4a8d5503dfb2a3eb8ab5f807da5bc69a85730fb49b5cfca2330194ebcc41c7b AS ids-builder
+FROM docker.io/library/ubuntu:26.04 at sha256:61ebaa5cc23ca45450db85eac015435199ec569e28ec222ea13f2aed2110b8a6 AS ids-builder
 ARG LLVM_VERSION_MAJOR
 
 RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y wget gpg python3 python3-pip git cmake

>From 95a3804ccf5fb7c2c9e12db567611864d29471aa Mon Sep 17 00:00:00 2001
From: Aiden Grossman <aidengrossman at google.com>
Date: Wed, 16 Sep 2026 10:59:25 -0700
Subject: [PATCH 2/2] fix

---
 .../containers/github-action-ci-tooling/Dockerfile        | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/containers/github-action-ci-tooling/Dockerfile b/.github/workflows/containers/github-action-ci-tooling/Dockerfile
index c293faf31ca6e..4600c6e6fad1e 100644
--- a/.github/workflows/containers/github-action-ci-tooling/Dockerfile
+++ b/.github/workflows/containers/github-action-ci-tooling/Dockerfile
@@ -81,7 +81,7 @@ COPY --from=llvm-downloader /llvm-extract/LLVM-${LLVM_VERSION}-Linux-X64/bin/cla
 
 # Install dependencies for 'pr-code-format.yml' job
 COPY llvm/utils/git/requirements_formatting.txt requirements_formatting.txt
-RUN pip install --require-hashes -r requirements_formatting.txt --break-system-packages && \
+RUN pip install --ignore-installed --require-hashes -r requirements_formatting.txt --break-system-packages && \
     rm requirements_formatting.txt
 USER gha
 WORKDIR /home/gha
@@ -97,7 +97,7 @@ COPY clang-tools-extra/clang-tidy/tool/clang-tidy-diff.py ${LLVM_SYSROOT}/bin/cl
 
 # Install dependencies for 'pr-code-lint.yml' job
 COPY llvm/utils/git/requirements_linting.txt requirements_linting.txt
-RUN pip install --require-hashes -r requirements_linting.txt --break-system-packages && \
+RUN pip install --ignore-installed --require-hashes -r requirements_linting.txt --break-system-packages && \
     rm requirements_linting.txt
 USER gha
 WORKDIR /home/gha
@@ -140,7 +140,7 @@ RUN wget -qO- https://apt.llvm.org/llvm-snapshot.gpg.key | gpg --dearmor -o /etc
     apt-get install -y clang-${LLVM_VERSION_MAJOR} lld-${LLVM_VERSION_MAJOR} ninja-build libclang-${LLVM_VERSION_MAJOR}-dev
 
 COPY llvm/utils/git/requirements_formatting.txt requirements_formatting.txt
-RUN pip install --require-hashes -r requirements_formatting.txt --break-system-packages && \
+RUN pip install --ignore-installed --require-hashes -r requirements_formatting.txt --break-system-packages && \
     rm requirements_formatting.txt
 
 RUN git clone https://github.com/compnerd/ids && cd ids && \
@@ -164,7 +164,7 @@ FROM ci-container-build-tools AS ci-container-ids-checks
 ARG LLVM_VERSION_MAJOR
 
 COPY llvm/utils/git/requirements.txt requirements.txt
-RUN pip install --require-hashes -r requirements.txt --break-system-packages && \
+RUN pip install --ignore-installed --require-hashes -r requirements.txt --break-system-packages && \
     rm requirements.txt
 
 RUN apt-get update && \



More information about the llvm-commits mailing list