support c++20 for ubuntu2204.
All checks were successful
Deploy Docker Images / Build dockerfile and Server deploy (push) Successful in 44s
All checks were successful
Deploy Docker Images / Build dockerfile and Server deploy (push) Successful in 44s
This commit is contained in:
parent
88e091cbb4
commit
06c399c472
@ -54,6 +54,10 @@ RUN cd /root \
|
|||||||
&& apt install -y software-properties-common \
|
&& apt install -y software-properties-common \
|
||||||
&& add-apt-repository -y ppa:ubuntu-toolchain-r/test \
|
&& add-apt-repository -y ppa:ubuntu-toolchain-r/test \
|
||||||
&& apt install -y gcc-13 g++-13 gdb \
|
&& 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 \
|
&& apt clean \
|
||||||
&& rm -fr /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
&& rm -fr /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user