Skip to content

Commit 1e2023e

Browse files
committed
ci: 构建容器改用 ubuntu:20.04(glibc 2.31 基线不变)
替代 debian:11(bullseye 已 EOL,镜像进入元数据过期+pool 清理 半死状态)和 debian:12(glibc 2.36 会放弃 Ubuntu 22.04 等系统, 违背 v4.3.1 的 2.31 基线承诺)。 ubuntu:20.04 (focal) glibc 同为 2.31: - 门禁 GLIBC_MIN=2.31 / deb 声明 libc6 (>= 2.31) / README 承诺全部不变 - focal 仍在 archive.ubuntu.com 正常服务(主仓/security 均 200), 且 Ubuntu Release 无 Valid-Until 字段,不存在 Debian 的过期检查问题 - 产物兼容性完全等价:Debian 11/12/13、Ubuntu 20.04/22.04/24.04+
1 parent 34ac629 commit 1e2023e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595
- name: Build goagent (linux, Debian 11 container)
9696
if: matrix.goos == 'linux'
9797
run: |
98-
docker run --rm -v /opt/hostedtoolcache:/opt/hostedtoolcache -v "$PWD":/github/workspace -w /github/workspace debian:12 \
98+
docker run --rm -v /opt/hostedtoolcache:/opt/hostedtoolcache -v "$PWD":/github/workspace -w /github/workspace ubuntu:20.04 \
9999
bash -euxo pipefail -c '
100100
GO_BIN="$(ls -d /opt/hostedtoolcache/go/*/x64/bin | sort -V | tail -1)/go"
101101
export PATH="$(dirname "$GO_BIN"):$PATH"
@@ -183,7 +183,7 @@ jobs:
183183
- name: Build rustagent (linux, Debian 11 container)
184184
if: matrix.runner == 'ubuntu-latest'
185185
run: |
186-
docker run --rm -v "$PWD":/github/workspace -w /github/workspace debian:12 \
186+
docker run --rm -v "$PWD":/github/workspace -w /github/workspace ubuntu:20.04 \
187187
bash -euxo pipefail -c '
188188
apt-get update
189189
apt-get install -y --no-install-recommends curl ca-certificates build-essential pkg-config
@@ -258,7 +258,7 @@ jobs:
258258
- name: Build webagent (linux, Debian 11 container)
259259
if: matrix.runner == 'ubuntu-latest'
260260
run: |
261-
docker run --rm -v "$PWD":/github/workspace -w /github/workspace debian:12 \
261+
docker run --rm -v "$PWD":/github/workspace -w /github/workspace ubuntu:20.04 \
262262
bash -euxo pipefail -c '
263263
apt-get update
264264
apt-get install -y --no-install-recommends curl ca-certificates build-essential pkg-config
@@ -313,7 +313,7 @@ jobs:
313313
- name: Build cagent (linux, Debian 11 container)
314314
if: runner.os == 'Linux'
315315
run: |
316-
docker run --rm -v "$PWD":/github/workspace -w /github/workspace debian:12 \
316+
docker run --rm -v "$PWD":/github/workspace -w /github/workspace ubuntu:20.04 \
317317
bash -euxo pipefail -c '
318318
apt-get update
319319
apt-get install -y --no-install-recommends gcc make xxd libc6-dev libcurl4-openssl-dev pkg-config

0 commit comments

Comments
 (0)