C++ 23我来啦

This commit is contained in:
2026-01-03 17:31:48 +08:00
parent 44275ec1c6
commit d684056021

View File

@@ -3,8 +3,11 @@ FROM ubuntu:22.04
# 设置非root用户
RUN useradd -m -s /bin/bash builder
# 1. 安装构建工具和编译器(包含 GCC 13
# 1. 添加包含 GCC 13 的软件源并安装
RUN apt-get update && \
apt-get install -y --no-install-recommends software-properties-common && \
add-apt-repository -y ppa:ubuntu-toolchain-r/test && \
apt-get update && \
apt-get install -y --no-install-recommends \
wget tar git curl ca-certificates \
build-essential \