diff --git a/Dockerfiles/ubuntu2204.dockerfile b/Dockerfiles/ubuntu2204.dockerfile index 7183195..eca300f 100644 --- a/Dockerfiles/ubuntu2204.dockerfile +++ b/Dockerfiles/ubuntu2204.dockerfile @@ -54,6 +54,10 @@ RUN cd /root \ && apt install -y software-properties-common \ && add-apt-repository -y ppa:ubuntu-toolchain-r/test \ && apt install -y gcc-13 g++-13 gdb \ + && update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-13 60 \ + && update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-13 60 \ + && update-alternatives --config gcc \ + && update-alternatives --config g++ \ && apt clean \ && rm -fr /var/lib/apt/lists/* /tmp/* /var/tmp/*