diff --git a/docker/dev/Dockerfile b/docker/dev/Dockerfile index 2ccf12becae..18fcef0a501 100644 --- a/docker/dev/Dockerfile +++ b/docker/dev/Dockerfile @@ -1,4 +1,8 @@ FROM ubuntu:mantic +RUN echo "deb http://apt.llvm.org/mantic/ llvm-toolchain-mantic-17 main" \ + >> /etc/apt/sources.list.d/llvm.list +RUN echo "deb http://apt.llvm.org/mantic/ llvm-toolchain-mantic-18 main" \ + >> /etc/apt/sources.list.d/llvm.list RUN apt -y update \ && apt -y install build-essential \ && apt -y install gcc-12 g++-12 gcc-13 g++-13 pandoc \ @@ -6,11 +10,11 @@ RUN apt -y update \ && update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-12 12 \ && update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-13 13 \ && update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-13 13 \ - && apt -y install clang-16 clang-17 clang-tools-17 \ - && update-alternatives --install /usr/bin/clang clang /usr/bin/clang-16 16 \ - && update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-16 16 \ + && apt -y install clang-17 clang-18 clang-tools-18 \ && update-alternatives --install /usr/bin/clang clang /usr/bin/clang-17 17 \ - && update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-17 17 + && update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-17 17 \ + && update-alternatives --install /usr/bin/clang clang /usr/bin/clang-18 18 \ + && update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-18 18 COPY install-dependencies.sh /tmp/ RUN bash /tmp/install-dependencies.sh CMD /bin/bash