Skip to content

feat: add support for clang v23 - #148

Open
shenxianpeng wants to merge 1 commit into
mainfrom
feat/llvm-23-support
Open

feat: add support for clang v23#148
shenxianpeng wants to merge 1 commit into
mainfrom
feat/llvm-23-support

Conversation

@shenxianpeng

Copy link
Copy Markdown
Member

Summary

  • Adds a 23 image tag for clang-format/clang-tidy 23.
  • LLVM 23 isn't packaged by any released Ubuntu version yet, so unlike the other per-version images (which use the distro's own repos), this one installs via llvm.sh from apt.llvm.org, same mechanism already used in Dockerfile.all for versions 13-21.
  • New Dockerfile.llvm-apt keeps this apt.llvm.org install path isolated from the existing Dockerfile (distro-repo based), so the other version targets are untouched.

Test plan

  • docker buildx bake --file docker-bake.hcl --print validates and shows target 23
  • Built locally with docker buildx bake 23 --set 23.output=type=docker --load; image builds and the built-in version-integrity check passes (clang-format-23/clang-tidy-23 both report 23.1.1)
  • Ran the image and confirmed the clang-format/clang-tidy symlinks resolve to the v23 binaries
  • CI multi-arch build/push (this PR)

Ubuntu doesn't yet ship a release with clang-23 packaged, so this
target installs it from apt.llvm.org via llvm.sh instead of the
distro's own repos (unlike the existing per-version images).

Verified locally: docker buildx bake 23 builds and passes the
version-integrity check.
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Sep 2, 2026
@sonarqubecloud

sonarqubecloud Bot commented Sep 2, 2026

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
C Security Rating on New Code (required ≥ A)
B Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Comment thread Dockerfile.llvm-apt
RUN set -e \
&& apt-get update \
&& apt-get --no-install-recommends -y install gnupg lsb-release software-properties-common wget \
&& wget --quiet https://apt.llvm.org/llvm.sh \
@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown

🔍 Vulnerabilities of xianpengshen/clang-tools:21

📦 Image Reference xianpengshen/clang-tools:21
digestsha256:6277f9fb38bc829a8c0178cab11846641978173307c3cdd1a5431bc1d33ff9c8
vulnerabilitiescritical: 0 high: 0 medium: 0 low: 0
platformlinux/amd64
size202 MB
packages192
📦 Base Image ubuntu:25.10
also known as
  • 4e49dbf6c4e151e115242cd504d751f4a4e9e4883d3156f52809bd72b524f1a8
  • questing
  • questing-20260610
digestsha256:e0b84ef30bbe766773e6056c60a3e706712e4119508e3da12516f1eddd6f761b
vulnerabilitiescritical: 0 high: 0 medium: 0 low: 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants