Skip to content

Commit

Permalink
Kou's comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jonkeane committed Dec 29, 2024
1 parent 3bd2d90 commit 9f2d327
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ci/docker/ubuntu-24.04-cpp.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 9f2d327

Please sign in to comment.