Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[infra] Install clang-format-16 on docker #12432

Merged
merged 1 commit into from
Jan 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions infra/docker/focal/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ RUN apt-get update && \
RUN python3 -m pip install --upgrade pip
RUN python3 -m pip install yapf==0.22.0 numpy flatbuffers

# Install clang-format
RUN apt-get install -qqy gnupg2
RUN wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
RUN add-apt-repository "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-16 main"
RUN apt-get update && apt-get install -qqy clang-format-16

# Install google test (source)
RUN apt-get update && apt-get -qqy install libgtest-dev

Expand Down
6 changes: 6 additions & 0 deletions infra/docker/focal/Dockerfile.aarch64
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ RUN apt-get update && \
RUN python3 -m pip install --upgrade pip
RUN python3 -m pip install yapf==0.22.0 numpy flatbuffers

# Install clang-format
RUN apt-get install -qqy gnupg2
RUN wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
RUN add-apt-repository "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-16 main"
RUN apt-get update && apt-get install -qqy clang-format-16

# Install google test (source)
RUN apt-get update && apt-get -qqy install libgtest-dev

Expand Down
6 changes: 6 additions & 0 deletions infra/docker/jammy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ RUN apt-get update && \
RUN python3 -m pip install --upgrade pip
RUN python3 -m pip install yapf==0.22.0 numpy flatbuffers

# Install clang-format
RUN apt-get install -qqy gnupg2
RUN wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
RUN add-apt-repository "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-16 main"
RUN apt-get update && apt-get install -qqy clang-format-16

# Install google test (source)
RUN apt-get update && apt-get -qqy install libgtest-dev

Expand Down
6 changes: 6 additions & 0 deletions infra/docker/jammy/Dockerfile.aarch64
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ RUN apt-get update && \
RUN python3 -m pip install --upgrade pip
RUN python3 -m pip install yapf==0.22.0 numpy flatbuffers

# Install clang-format
RUN apt-get install -qqy gnupg2
RUN wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
RUN add-apt-repository "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-16 main"
RUN apt-get update && apt-get install -qqy clang-format-16

# Install google test (source)
RUN apt-get update && apt-get -qqy install libgtest-dev

Expand Down