Skip to content

fix hermes build - #69

Merged
haobibo merged 18 commits into
mainfrom
dev/fix-hermes
Jul 26, 2026
Merged

fix hermes build#69
haobibo merged 18 commits into
mainfrom
dev/fix-hermes

Conversation

@haobibo

@haobibo haobibo commented Jul 24, 2026

Copy link
Copy Markdown
Member

No description provided.

haobibo and others added 3 commits July 24, 2026 22:53
- 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.
@CLAassistant

CLAassistant commented Jul 24, 2026

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ haobibo
❌ Trae Bot


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
haobibo force-pushed the dev/fix-hermes branch 2 times, most recently from cfab6b3 to 3cf970b Compare July 24, 2026 18:59
@haobibo
haobibo merged commit cb1b031 into main Jul 26, 2026
37 of 39 checks passed
@haobibo
haobibo deleted the dev/fix-hermes branch July 26, 2026 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants