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

Consider removing linux-libc-dev from the default prepares

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

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
docker, typescript

調査の方向性

Start by reading the prepare-tool all implementation and the individual prepare definitions for swift, ruby, conan, and python; the issue does not name file paths or tests. Compare how their build-toolchain and -dev dependencies enter the default image, and check how the Trivy ignore is configured. Done means a chosen approach removes or makes these dependencies opt-in without breaking native-extension builds, with the impact documented and relevant image checks passing.

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

説明

breaking mend:customer-request

prepare-tool all installs linux-libc-dev (the kernel headers), which trivy reports with every kernel CVE, although it only ships header files. It is a hard dependency of libc6-dev, which these prepares pull in (Recommends are off in the image):

  • swift: installs libc6-dev directly (plus libstdc++-9-dev, zlib1g-dev)
  • ruby and conan: g++ → g++-13 → libstdc++-13-dev → libc6-dev
  • python: default-libmysqlclient-dev → libmysqlclient-dev → zlib1g-dev → libc6-dev

php, dotnet, powershell, golang and git don't pull it in.

The headers are needed to build native extensions (gems, Python wheels like mysqlclient or psycopg, conan packages, SwiftPM), so removing them is a breaking change. Options to consider:

  • Move the build toolchain and -dev packages out of the default prepares into an opt-in step, so images that only run tools don't carry them.
  • Drop them from the prepares and document that users install build-essential and the -dev packages they need themselves.

Until then, the trivy scans ignore linux-libc-dev.


Opened by Claude Opus 5.5 (Claude Code) on behalf of @viceice.

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

環境構築

Codespaces で開く

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

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

はじめの一歩

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

containerbase/base のほかの issue

containerbase/base の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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