From 93ab7c50b86e096c20403d74a25f111008fd91c8 Mon Sep 17 00:00:00 2001 From: Wouter Deconinck <wdconinc@gmail.com> Date: Tue, 12 Dec 2023 15:00:27 +0000 Subject: [PATCH] fix: add alternative cpp --- containers/debian/base.Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/containers/debian/base.Dockerfile b/containers/debian/base.Dockerfile index 1b6547c4e..0d17bde25 100644 --- a/containers/debian/base.Dockerfile +++ b/containers/debian/base.Dockerfile @@ -103,6 +103,7 @@ apt-get -yqq install gcc${GCC} g++${GCC} gfortran${GCC} apt-get -yqq install clang${CLANG} clang-tidy${CLANG} clang-format${CLANG} libclang${CLANG}-dev apt-get -yqq autoremove # Ensure alternatives without version tags +update-alternatives --install /usr/bin/cpp cpp /usr/bin/cpp${GCC} 100 update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc${GCC} 100 update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++${GCC} 100 update-alternatives --install /usr/bin/gfortran gfortran /usr/bin/gfortran${GCC} 100 -- GitLab