From a8cd6606939af926cdf61d9011ca07142194eb0f Mon Sep 17 00:00:00 2001 From: Mathieu Westphal Date: Sun, 5 Jan 2025 10:55:32 +0100 Subject: [PATCH] Use GCC9, the Ubuntu 20 default, in the superbuild (#30) --- superbuild/Dockerfile | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/superbuild/Dockerfile b/superbuild/Dockerfile index 640cd3b..f09ffa4 100644 --- a/superbuild/Dockerfile +++ b/superbuild/Dockerfile @@ -13,9 +13,7 @@ RUN apt update && apt install -y \ # Install generic build dependency RUN apt update && apt install -y \ - build-essential \ - g++-8 \ - gcc-8 + build-essential # Install VTK build dependency RUN apt update && apt install -y \ @@ -55,6 +53,3 @@ RUN apt update && apt install -y cmake git git-lfs # Install sccache RUN cargo install sccache --version 0.4.2 --locked ENV PATH="${PATH}:/root/.cargo/bin" - -# Use gcc-8 by default -RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 800 --slave /usr/bin/g++ g++ /usr/bin/g++-8