From 2f07f448bccc332a9baad39ca4aaaee21ecf4ed7 Mon Sep 17 00:00:00 2001 From: Vishwa Shah Date: Wed, 17 Jul 2024 23:08:20 +0200 Subject: [PATCH] build: update to gcc/g++13 (#132) --- docker/development/Dockerfile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docker/development/Dockerfile b/docker/development/Dockerfile index 73c5429..ac691e1 100644 --- a/docker/development/Dockerfile +++ b/docker/development/Dockerfile @@ -68,6 +68,14 @@ RUN wget https://apt.llvm.org/llvm-snapshot.gpg.key \ && apt-get install -y clang-format clang \ && rm -rf /var/lib/apt/lists/* +## GCC / G++ + +RUN add-apt-repository ppa:ubuntu-toolchain-r/test \ + && apt-get update \ + && apt-get install -y gcc-13 g++-13 \ + && update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-13 100 \ + && update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-13 100 + ## Python RUN add-apt-repository ppa:deadsnakes/ppa