Skip to content

Commit

Permalink
[infra] Install clang-format-16 on docker
Browse files Browse the repository at this point in the history
This commit updates dockerfile to install clang-format-16.

ONE-DCO-1.0-Signed-off-by: Hyeongseok Oh <[email protected]>
  • Loading branch information
hseok-oh committed Jan 10, 2024
1 parent 3dc37ed commit f5ae70f
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 0 deletions.
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

0 comments on commit f5ae70f

Please sign in to comment.