Skip to content

Commit 979246b

Browse files
committed
feat(cubestore/docker): Upgrade CLang to 15
1 parent c512586 commit 979246b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

rust/cubestore/Dockerfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ RUN apt update \
88
&& apt upgrade -y \
99
&& DEBIAN_FRONTEND=noninteractive apt-get install -y software-properties-common pkg-config wget gnupg git apt-transport-https ca-certificates \
1010
&& wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - \
11-
&& add-apt-repository "deb https://apt.llvm.org/bullseye/ llvm-toolchain-bullseye-12 main" \
11+
&& add-apt-repository "deb https://apt.llvm.org/bullseye/ llvm-toolchain-bullseye-15 main" \
1212
&& apt update \
13-
&& apt install -y git llvm-12 clang-12 libclang-12-dev clang-12 cmake \
13+
&& apt install -y git llvm-15 clang-15 libclang-15-dev clang-15 cmake \
1414
&& rm -rf /var/lib/apt/lists/*;
1515

16-
RUN update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-12 100
17-
RUN update-alternatives --install /usr/bin/clang clang /usr/bin/clang-12 100
18-
RUN update-alternatives --install /usr/bin/cc cc /usr/bin/clang-12 100
19-
RUN update-alternatives --install /usr/bin/c++ c++ /usr/bin/clang++-12 100
16+
RUN update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-15 100
17+
RUN update-alternatives --install /usr/bin/clang clang /usr/bin/clang-15 100
18+
RUN update-alternatives --install /usr/bin/cc cc /usr/bin/clang-15 100
19+
RUN update-alternatives --install /usr/bin/c++ c++ /usr/bin/clang++-15 100
2020

2121
WORKDIR /usr/src
2222

0 commit comments

Comments
 (0)