From 895335c2c02383db813bf3dd0f0609a5bafac549 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Grzegorz=20Dzi=C4=99gielewski?= Date: Thu, 11 Sep 2025 22:16:28 +0200 Subject: [PATCH] changes gcc from gcc 13 to gcc-11 --- Dockerfile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6a03eaa..b21b2e7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,11 +29,10 @@ RUN apt update -qq && apt install -qq -y --no-install-recommends \ apt-transport-https \ curl \ file \ - gcc \ + gcc-11 \ + g++-11 \ git \ - g++ \ gnupg2 \ - libc++1 \ libgl1 \ libtcmalloc-minimal4 \ make \ @@ -56,7 +55,10 @@ RUN apt update -qq && apt install -qq -y --no-install-recommends \ jq \ shellcheck \ && gem install bundler \ - && rm -rf /var/lib/apt/lists/*; + && rm -rf /var/lib/apt/lists/* \ + && update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 110 \ + && update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-11 110 + # install nodejs using n RUN curl -L https://raw.githubusercontent.com/tj/n/master/bin/n -o n \