Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Block the Ubuntu git package after switching to the prebuild

オープン
#7,779 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
docker, git, ubuntu

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

breaking

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) with Provides: git (= 1:<version>), so packages depending on git, including versioned dependencies, are satisfied by our build. install-tool git updates it with each install.
  • An apt pin in /etc/apt/preferences.d/containerbase-git with Package: git git-man, Pin: release *, Pin-Priority: -1, so a direct apt install git fails instead of silently adding Ubuntu's git.
  • Document both for custom images.

Drafted by Claude Opus 5.5 (Claude Code) for @viceice.

主要言語
TypeScript
スター
58
フォーク
65
平均マージ
11時間 54分
マージ済み PR(30日)
428

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

containerbase/base のほかの issue

containerbase/base の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。