Multi-stage image on python:3.13-slim-trixie, frpc 0.71.0
Mantenedores costumam responder em até 1 dia
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 25/100
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.
- Linguagem predominante
- Python
- Estrelas
- 26
- Forks
- 20
- Merge médio
- 2d 9h
- PRs com merge (30d)
- 4
Preparar o ambiente
- Inclui um Dockerfile ou arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de nextcloud/context_agent
-
enhancement priority normal
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
nextcloud/context_agent#270 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 85/100
nextcloud/context_agent#242 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Add endpoint to create new CollectivesTalvez já em andamento Um pull request vinculado a esta issue está aberto ou já foi mesclado. Abertaenhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
nextcloud/context_agent#240 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
find_person_in_contacts fails with Niquests content argument and cannot serialize vCard AddressAbertabug
Dificuldade 2/5 Meio dia Facilidade para iniciantes 76/100
nextcloud/context_agent#217 · 3 comentários ·
Mantenedores costumam responder em até 1 dia
-
Failed to schedule taskAbertabug
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 22/100
nextcloud/context_agent#271 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de nextcloud/context_agent
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 64/100
aws-samples/sample-per-model-bedrock#295 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 76/100
pyrevitlabs/pyRevit#3792 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 69/100
zephyrproject-rtos/reqmgmt#177 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
polarsource/polar#15580 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 85/100
521xueweihan/HelloGitHub#4011 ·