Multi-stage image on python:3.13-slim-trixie, frpc 0.71.0
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
調査の方向性
Read the Dockerfile and inspect the linked pull request #262, which already contains this work. The issue reports manual checks for building the image, counting installed packages, checking frpc --version, and importing main; compare those checks with the proposed image changes to judge completion.
索引モデルが issue の本文から書いたものです。
説明
A scan of the shipped image flags mostly base-image noise: the plain apt-get install honors Recommends, so the build toolchain drags in libheif/libtiff/X11 and pipx pulls mkdocs/nltk/numpy (nothing the app uses at runtime). vim, git, curl, an SSH client and perl ship too.
Toolchain moves to a builder stage; the runtime carries the interpreter, the app venv, frpc and procps. That drops the compilers, codec parsers and network clients an attacker could leverage, and most of the bookworm package tail. frpc now comes from the official fatedier releases, SHA256-verified (the HaRP mirror is old and unsigned).
Image is about a third of the size, runtime under a hundred packages, findings down by well over 90% on a local rescan. The one remaining Critical needs a major-version migration elsewhere.
Manual testing:
docker build --network=host -t context-agent:test . # BuildKit DNS needs host networking on some hosts
docker run --rm --entrypoint dpkg-query context-agent:test -l | grep -c '^ii '
docker run --rm --entrypoint frpc context-agent:test --version # 0.71.0
docker run --rm --env-file test.env --entrypoint /opt/app/.venv/bin/python context-agent:test -c 'import main'
--entrypoint matters — start.sh otherwise eats the args.
- 主要言語
- Python
- スター
- 26
- フォーク
- 20
- 平均マージ
- 2日 9時間
- マージ済み PR(30日)
- 4
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
nextcloud/context_agent のほかの issue
-
enhancement priority normal
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
nextcloud/context_agent#270 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
nextcloud/context_agent#242 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
nextcloud/context_agent#240 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
find_person_in_contacts fails with Niquests content argument and cannot serialize vCard Addressオープンbug
難易度 2/5 半日 初心者へのやさしさ 76/100
nextcloud/context_agent#217 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 22/100
nextcloud/context_agent#271 ·
メンテナーはふだん 1 日以内に返信
nextcloud/context_agent の issue をすべて見る
似ている issue
-
Questions crashes on a real SQuAD2 no-answer prediction対応中かも @HuaTNA が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
GST is read as Gulf Standard Time (UTC+4) instead of Guam Standard Time (UTC+10)対応中かも @yang00333 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
DOI-USGS/dataretrieval-python#454 ·
メンテナーはふだん 4 日以内に返信
-
area:core-platform effort:S priority:P3 status:in-review type:test
難易度 2/5 1時間未満 初心者へのやさしさ 80/100
randomparity/kdive#3246 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Requantification library converts m/z to mass with the hydrogen-atom mass instead of the proton massオープンbug
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
nf-core/metaboigniter#130 ·
メンテナーはふだん 1 日以内に返信
-
netbox status: needs owner type: documentation
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
netbox-community/netbox#23412 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信