fix(docker): install upstream optional dependencies #30
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "clawlter/hermes-agent-docker:fix/gateway-deps"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
pyproject.tomlRoot cause
Upstream Hermes changed the meaning of
[all]: it is now a curated production extra, not literally every optional dependency. The official upstream Dockerfile now usesuv sync --extra alland compensates by making.venvwritable sotools/lazy_deps.pycan install platform/provider backends at first use.This image is intentionally a ready-to-run gateway/server image, so relying on first-boot lazy installs is not the desired behavior. Generating the editable install spec from upstream
pyproject.tomlkeeps the image aligned with new upstream extra names while still installing optional dependencies out of the gate.For
HERMES_REF=v2026.5.16, the generated spec resolves to all 34 optional extras, includingmessaging,matrix,dingtalk,feishu,voice,edge-tts,tts-premium, provider/search extras, and the existing curatedallextra.Testing
bash -n entrypoint.sh docker-wrapper.sh healthcheck.shDockerfileand upstreampyproject.tomlforHERMES_REF=v2026.5.16to verify the Dockerfile derivesHERMES_EXTRASfrom every optional dependency extrauv pip install --dry-run -e "$EXTRA_SPEC"against the upstreamv2026.5.16source with the generated all-extras specgit diff --checkI did not run a Docker build in this environment because Docker use requires explicit approval.
bfe88845dc310a93f741fix(docker): install messaging gateway dependenciesto fix(docker): install upstream optional dependencies