cdk: support Docker-compatible engines such as Finch (clean:disk hard-codes docker)
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 82/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- aws, docker, typescript
- Lĩnh vực
- cloud, devops, infrastructure
Hướng nghiên cứu
Tìm script clean:disk trong bộ công cụ CDK và hướng dẫn triển khai. Bắt đầu bằng cách kiểm tra cách CDK_DOCKER được dùng để tạo image cục bộ; cập nhật thao tác dọn dẹp ổ đĩa để dùng engine đã cấu hình và ghi tài liệu về Finch làm ví dụ. Hoàn tất khi cả hai lệnh dọn dẹp đều dùng engine được chọn và hướng dẫn giải thích cách cấu hình engine không phải Docker.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- TypeScript
- Star
- 165
- Fork
- 50
- Merge trung bình
- 10 giờ 39 phút
- Pull request đã merge (30 ngày)
- 7
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của aws-samples/sample-autonomous-cloud-coding-agents
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
aws-samples/sample-autonomous-cloud-coding-agents#968 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
aws-samples/sample-autonomous-cloud-coding-agents#967 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
fix(cdk): lambda-microvm grants hardcode the us. inference-profile prefix instead of bedrockGeoRegionCó thể đã có người làm @proton0210 đã nhận 10 ngày trước. Đang mởinfra-cdk P1
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
aws-samples/sample-autonomous-cloud-coding-agents#955 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
aws-samples/sample-autonomous-cloud-coding-agents#908 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug v1
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
aws-samples/sample-autonomous-cloud-coding-agents#886 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của aws-samples/sample-autonomous-cloud-coding-agents
Issue tương tự
-
[Bug]: Payment providers removed from config are never disabled in payment_providerCó thể đã có người làm @medusa-os-bot đã nhận hôm nay. Đang mởtype: bug
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 82/100
medusajs/medusa#17544 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
software-mansion/argent#1651 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
lane:reliability
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Maintainer thường phản hồi trong vòng 1 ngày