cdk: support Docker-compatible engines such as Finch (clean:disk hard-codes docker)
维护者通常 1 天内回复
@alvarohare 已经在做这个了。
开始于 2026年10月28日。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 82/100
- Issue 类型
- 功能
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- aws, docker, typescript
- 领域
- cloud, devops, infrastructure
调研方向
在 CDK 工具和部署指南中找到 clean:disk 脚本。先检查 CDK_DOCKER 如何用于本地镜像构建;更新磁盘清理,使其使用配置的引擎,并将 Finch 作为示例写入文档。两个清理命令都使用所选引擎,且指南说明如何配置非 Docker 引擎后,即为完成。
由索引模型根据 Issue 内容生成。
描述
Component: CDK / infrastructure (local image builds)
Use case
CDK builds the agent image locally and honours the CDK_DOCKER environment variable, so any Docker-CLI-compatible engine works: for example Finch (open source, from AWS), Podman or Rancher Desktop. Some organisations cannot use Docker Desktop (licensing for larger companies, or managed sign-in requirements that block the daemon), and Finch is a natural choice for deploying to AWS.
Deploying with CDK_DOCKER=finch works, with one gap in the repo's own tooling: //cdk:clean:disk (which runs before every //cdk:deploy) hard-codes docker image prune -f and docker builder prune -f. With Finch, the low-disk prune either fails silently (|| true) or prunes an idle Docker installation instead of the engine actually holding the build cache, so the disk-space safeguard does nothing.
Proposed solution
- In
clean:disk, prune with the engine CDK uses:ENGINE="${CDK_DOCKER:-docker}"; "$ENGINE" image prune -f; "$ENGINE" builder prune -f. Finch supports both subcommands. (Verified locally with Finch 1.17.) - Document
CDK_DOCKERin the deployment guide as the supported way to use a non-Docker engine, with Finch as the example. Finch also buildslinux/arm64natively on Apple Silicon, matching the AgentCore image.
Other information
Happy to open the PR for (1); it is a three-line change.
- 主要语言
- TypeScript
- 星标
- 170
- 派生
- 52
- 平均合并
- 2 天 21 小时
- 30 天内合并 PR
- 11
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
aws-samples/sample-autonomous-cloud-coding-agents 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 82/100
aws-samples/sample-autonomous-cloud-coding-agents#968 ·
维护者通常 1 天内回复
-
documentation P2 security
难度 2/5 1-2 天 新手友好度 74/100
aws-samples/sample-autonomous-cloud-coding-agents#793 ·
维护者通常 1 天内回复
-
Docs: How to clear previously set attributes for a blueprint可能重新可做 @rkumarus-aws 于 68 天前认领,目前没有进行中的 PR。 未关闭documentation
难度 2/5 1-3 小时 新手友好度 68/100
aws-samples/sample-autonomous-cloud-coding-agents#767 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
aws-samples/sample-autonomous-cloud-coding-agents#749 · 1 条评论 ·
维护者通常 1 天内回复
-
enhancement P2
难度 1/5 1 小时以内 新手友好度 92/100
aws-samples/sample-autonomous-cloud-coding-agents#670 ·
维护者通常 1 天内回复
查看 aws-samples/sample-autonomous-cloud-coding-agents 的全部 Issue
相似的 Issue
-
content triage
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
tensorflow/tfjs#8754 ·
-
tool-submission
难度 1/5 1 小时以内 新手友好度 83/100
BraveOPotato/NoSignups#2348 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
code-yeongyu/oh-my-openagent#12784 ·
维护者通常 1 天内回复
-
external-issue to-triage
难度 2/5 1-3 小时 新手友好度 71/100
维护者通常 1 天内回复