Skip to content

refactor: simplify clang installation by removing update-alternatives#519

Merged
SavenkovIgor merged 1 commit intomainfrom
docker-update
Mar 14, 2026
Merged

refactor: simplify clang installation by removing update-alternatives#519
SavenkovIgor merged 1 commit intomainfrom
docker-update

Conversation

@SavenkovIgor
Copy link
Owner

No description provided.

Copilot AI review requested due to automatic review settings March 14, 2026 21:44
@SavenkovIgor SavenkovIgor enabled auto-merge (squash) March 14, 2026 21:44
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR simplifies the devcontainer Dockerfile by replacing a verbose update-alternatives block (27 lines registering individual clang tool symlinks) with a single ENV PATH directive that prepends the LLVM bin directory to PATH.

Changes:

  • Removed the update-alternatives RUN block that manually registered ~25 clang tool symlinks
  • Added ENV PATH="/usr/lib/llvm-${CLANG_VERSION}/bin:${PATH}" to make all unversioned clang tools available

@SavenkovIgor SavenkovIgor merged commit 793dd38 into main Mar 14, 2026
8 checks passed
@SavenkovIgor SavenkovIgor deleted the docker-update branch March 14, 2026 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants