Multi-stage image on python:3.13-slim-trixie, frpc 0.71.0
Maintainer thường phản hồi trong vòng 1 ngà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
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Python
- Star
- 26
- Fork
- 20
- Merge trung bình
- 2 ngày 9 giờ
- Pull request đã merge (30 ngày)
- 4
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Đọ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 nextcloud/context_agent
-
enhancement priority normal
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
nextcloud/context_agent#270 ·
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 85/100
nextcloud/context_agent#242 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add endpoint to create new CollectivesCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởenhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
nextcloud/context_agent#240 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
find_person_in_contacts fails with Niquests content argument and cannot serialize vCard AddressĐang mởbug
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 76/100
nextcloud/context_agent#217 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Failed to schedule taskĐang mởbug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 22/100
nextcloud/context_agent#271 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của nextcloud/context_agent
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
TomerAberbach/profiler-md#733 ·
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 68/100
its-me-prash/vwgroup-connect-ha#1858 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: client bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Deleting all alarms or timers shows deleted ones until the next update when there are none leftĐang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
leikoilja/ha-google-home#1107 ·
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 76/100
Graphify-Labs/graphify#4524 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày