Skip to content

Commit 16d9299

Browse files
committed
feat: update gcc update alternatives to 15
1 parent 3a45669 commit 16d9299

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.devcontainer/cpp/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -159,11 +159,11 @@ RUN --mount=type=cache,target=/cache,sharing=locked \
159159
# Update all tool alternatives to the correct version
160160
# and patch root's bashrc to include bash-completion
161161
RUN --mount=type=cache,target=/var/log,sharing=locked \
162-
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-14 10 \
163-
--slave /usr/bin/g++ g++ /usr/bin/g++-14 \
164-
--slave /usr/bin/gcov gcov /usr/bin/gcov-14 \
165-
&& update-alternatives --install /usr/bin/cc cc /usr/bin/gcc-14 10 \
166-
--slave /usr/bin/c++ c++ /usr/bin/g++-14 \
162+
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-15 10 \
163+
--slave /usr/bin/g++ g++ /usr/bin/g++-15 \
164+
--slave /usr/bin/gcov gcov /usr/bin/gcov-15 \
165+
&& update-alternatives --install /usr/bin/cc cc /usr/bin/gcc-15 10 \
166+
--slave /usr/bin/c++ c++ /usr/bin/g++-15 \
167167
&& update-alternatives --install /usr/bin/iwyu iwyu /usr/local/bin/include-what-you-use 10 \
168168
&& update-alternatives --install /usr/bin/mull-runner mull-runner /usr/bin/mull-runner-${CLANG_VERSION} 10 \
169169
--slave /usr/bin/mull-reporter mull-reporter /usr/bin/mull-reporter-${CLANG_VERSION} \

0 commit comments

Comments
 (0)