fix hermes build - #69
Merged
Merged
Conversation
- Switch from removed PyPI wheel flow to uv-based venv install matching the upstream NousResearch/hermes-agent Dockerfile (they dropped brew + pip/PyPI wheel support in commit d84e11a). - Split ARGs into BASE_IMG_BUILD (node, for npm + tsc) and BASE_IMG (base, for the script-setup-sys.sh / script-utils.sh helpers used by other sibling images like litellm / storebox / searxng). - Add a uv_source stage to copy a static uv binary into the builder, plus build-time APT toolchain (gcc/cmake/python3-dev/libolm-dev) so uv sync can compile native deps (matrix crypto, cryptography, ffi). - Builder: npm install + playwright chromium, uv sync with the production extras (all/messaging + major providers + hindsight + matrix), build web & ui-tui frontends, uv pip install -e ., and stamp /opt/hermes/.install_method + exec shim. - Runtime: copy the full /opt/hermes tree (venv + source + browsers + built frontends) into the base-image layer, install supervisord + runtime apt deps, seed hermes_cli paths into /etc/profile.d, and wire PATH/PYTHONPATH so python3 -m scripts.* / python3 -m tools.* resolves against the managed venv inside start-hermes.sh. - Bump healthcheck start-period & retries to account for cold-boot supervisord + gateway startup on slower nodes. Fixes hermes job in build-docker.yml CI/CD workflow.
|
Trae Bot seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
haobibo
force-pushed
the
dev/fix-hermes
branch
2 times, most recently
from
July 24, 2026 18:59
cfab6b3 to
3cf970b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.