support c++20 for ubuntu2204.
Some checks failed
Deploy Docker Images / Build dockerfile and Server deploy (push) Has been cancelled

This commit is contained in:
luocai 2024-11-20 16:15:34 +08:00
parent 290a7a49f3
commit 952d58ef9a

View File

@ -53,7 +53,7 @@ RUN cd /root \
&& apt update \
&& apt install -y software-properties-common \
&& add-apt-repository -y ppa:ubuntu-toolchain-r/test \
&& apt install gcc-13 g++-13 \
&& apt install -y gcc-13 g++-13 \
&& 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 \