docs(buildkit): 上游 PR #6996(env 变量式上游代理)端到端验证报告与部署资产 - #16
Merged
Conversation
- 从 gmarmstrong/buildkit@proxy-chaining 编译镜像, 正对照/缓存/负对照三场景实测通过 - 关键结论: 无 cert 配置 → CA 经 SSL_CERT_FILE 走系统信任库, 实测成立; PULL+RUN 共用一套 env 是 BuildKit 既有标准行为, 与 deploy 的 splice+registry-proxy 互补 - 新增 buildkitd-6996.toml / docker-compose.6996.yml, 与 fork 版并列 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Welcome To opensourceways CommunityHey @TommyLike , thanks for your contribution to the community. Bot Usage ManualI'm the Bot here serving you. You can find the instructions on how to interact with me at Here . That means you can comment below every pull request or issue to trigger Bot Commands. |
CLA Signature PassTommyLike, thanks for your pull request. All authors of the commits have signed the CLA. 👍 |
Linking Issue Notice@TommyLike , the pull request must be linked to at least one issue. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
背景
上游社区(gmarmstrong)在 moby/buildkit#6996 用环境变量实现了"内置 exec 代理链到上游代理"——与本仓库 fork 方案(
[proxy]段 +upstreamCACert)路线不同:无 cert 配置,CA 信任下沉系统信任库。本 PR 记录我们用上游实现重新编译镜像、跑通端到端验证的结果与可复现资产。改动
reports/buildkit-pr6996-validation-20260813.md(新增):完整测试报告——两条路线对比、测试配置、三场景实测矩阵、关键结论、遗留建议、复现方法buildkit/buildkitd-6996.toml(新增):无[proxy]段,仅proxyNetwork = truebuildkit/docker-compose.6996.yml(新增):env 变量式部署(HTTP(S)_PROXY+SSL_CERT_FILE),与 fork 版并列、互不影响buildkit/README.md:新增「上游 PR #6996 变体」小节 + 目录树补两行实测结果(镜像
tommylike/buildkit-6996:test,从gmarmstrong/buildkit@proxy-chaining编译)SSL_CERT_FILE= Squid CA)TCP_HIT75 → 76关键结论
SSL_CERT_FILE走系统信任库,实测成立(newProxyTransport的TLSClientConfig == nil→ 系统池回退,代码+实测双重确认)deploy/的 splice + registry-proxy 架构互补不涉及
🤖 Generated with Claude Code