Skip to content

Commit

Permalink
this?
Browse files Browse the repository at this point in the history
  • Loading branch information
jonkeane committed Dec 10, 2024
1 parent d7ee6f7 commit 8f235bd
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions ci/docker/ubuntu-24.04-cpp.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,14 @@ RUN if [ "${gcc_version}" = "" ]; then \
add-apt-repository ppa:ubuntu-toolchain-r/volatile; \
fi; \
apt-get update -y -q && \
apt-get install -y -q --no-install-recommends \
if [ "${gcc_version}" -eq "snapshot" ]; then \
apt-get install -y -q --no-install-recommends \
gcc-${gcc_version} \
else \
apt-get install -y -q --no-install-recommends \
g++-${gcc_version} \
gcc-${gcc_version} && \
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 8f235bd

Please sign in to comment.