From 9f2d32732d46136262e402943c452c2f8944fe96 Mon Sep 17 00:00:00 2001 From: Jonathan Keane Date: Sun, 29 Dec 2024 07:23:18 -0600 Subject: [PATCH] Kou's comments --- ci/docker/ubuntu-24.04-cpp.dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ci/docker/ubuntu-24.04-cpp.dockerfile b/ci/docker/ubuntu-24.04-cpp.dockerfile index 869fe8f8e5d0e..30ba1a450a44b 100644 --- a/ci/docker/ubuntu-24.04-cpp.dockerfile +++ b/ci/docker/ubuntu-24.04-cpp.dockerfile @@ -138,17 +138,17 @@ RUN if [ "${gcc_version}" = "" ]; then \ if [ "${gcc_version}" -gt "14" ]; then \ apt-get update -y -q && \ apt-get install -y -q --no-install-recommends software-properties-common && \ - add-apt-repository ppa:ubuntu-toolchain-r/volatile; \ + add-apt-repository ppa:ubuntu-toolchain-r/ppa; \ fi; \ apt-get update -y -q && \ if [ "${gcc_version}" == "snapshot" ]; then \ apt-get install -y -q --no-install-recommends \ - gcc-${gcc_version} && \ + gcc-${gcc_version} ; \ else \ apt-get install -y -q --no-install-recommends \ g++-${gcc_version} \ - gcc-${gcc_version} && \ - fi; \ + gcc-${gcc_version} ; \ + fi & \ update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-${gcc_version} 100 && \ update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-${gcc_version} 100 && \ update-alternatives --install \