Block the Ubuntu git package after switching to the prebuild
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ó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- docker, git, ubuntu
- Lĩnh vực
- infrastructure
Hướng nghiên cứu
Start with how install-tool git installs the prebuild and how install-apt handles packages, since the issue names both. The proposal needs a virtual containerbase-git deb providing git (= version) and an apt pin at /etc/apt/preferences.d/containerbase-git for git and git-man. Done means a direct apt install git fails in a custom image while packages depending on git still resolve to the prebuild. Confirm the design with the maintainer before writing code.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
What would you like containerbase to do?
Block Ubuntu's git package once git comes from our prebuild, so apt doesn't install a second git into /usr/bin.
Background
Nothing in containerbase installs git with apt except install-tool git itself, but custom images (install-apt git), Renovate post-upgrade commands and apt packages with a hard dependency on git (e.g. Ubuntu's git-lfs, git-man) would pull Ubuntu's git.
Proposal
- A virtual package: after installing the prebuild, register a minimal deb built with
dpkg-deb(e.g.containerbase-git) withProvides: git (= 1:<version>), so packages depending on git, including versioned dependencies, are satisfied by our build.install-tool gitupdates it with each install. - An apt pin in
/etc/apt/preferences.d/containerbase-gitwithPackage: git git-man,Pin: release *,Pin-Priority: -1, so a directapt install gitfails instead of silently adding Ubuntu's git. - Document both for custom images.
Drafted by Claude Opus 5.5 (Claude Code) for @viceice.
- Ngôn ngữ chính
- TypeScript
- Star
- 58
- Fork
- 65
- Merge trung bình
- 8 giờ
- Pull request đã merge (30 ngày)
- 438
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Không 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 containerbase/base
-
Stop installing bzr for golangĐang mởbreaking
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
containerbase/base#8022 · 1 reaction ·
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 84/100
containerbase/base#7891 ·
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
containerbase/base#7842 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
priority-3-normal tool/dotnet
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 78/100
containerbase/base#5996 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
evict the least recently used downloads firstCó thể đã có người làm @viceice đã nhận 1 ngày trước. Đang mở
containerbase/base#8027 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của containerbase/base
Issue tương tự
-
agent-reported area/react bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
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 82/100
Nimblesite/SharpLsp#510 ·
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
-
backend refactor
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
NIAEFEUP/tts#927 · 1 bình luận · 1 reaction ·
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 82/100
callstackincubator/react-native-harness#296 ·
Maintainer thường phản hồi trong vòng 1 ngày