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

Multi-stage image on python:3.13-slim-trixie, frpc 0.71.0

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

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

@WSHAPER がすでに取り組んでいます。

2026年10月12日 から。

  • #262 @WSHAPER による — オープン

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
リファクタリング
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
docker, python
領域
devops, security

調査の方向性

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 の本文から書いたものです。

説明

priority high

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

環境構築

はじめの一歩

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

nextcloud/context_agent のほかの issue

nextcloud/context_agent の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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