From d6840560212581c4bfced5691bb85ddc67986397 Mon Sep 17 00:00:00 2001 From: PuqiAR Date: Sat, 3 Jan 2026 17:31:48 +0800 Subject: [PATCH] =?UTF-8?q?C++=2023=E6=88=91=E6=9D=A5=E5=95=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .ci/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.ci/Dockerfile b/.ci/Dockerfile index edb77c0..26fcf84 100644 --- a/.ci/Dockerfile +++ b/.ci/Dockerfile @@ -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 \