Skip to content

Issue in the last two weeks installing v21 clang-format and clang-tidy #151221

@ansible42

Description

@ansible42

For context this is running in ubuntu docker container as part of a build system. Two weeks ago things were fine. This clode block ran and installed

RUN apt-get update && \
    apt-get install -y wget software-properties-common && \
    wget -qO - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - && \
    add-apt-repository "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy main" && \
    apt-get update && \
    apt-get install -y clang-format && \
    apt-get install -y clang-tidy && \
    # Clean up the package lists to minimize the image size
    rm -rf /var/lib/apt/lists/*

# Verify installation
RUN clang-format --version
RUN clang-tidy --version

Resulting in the desired versions being installed

Image

but now when I run the same pipeline I get

Image

Any ideas?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions