motif64

m64_3941460fa31f / Dockerfile

31 lines, 2.3 KBraw
1# hermes-qwen38nvfp4-gb10: Hermes Agent v2026.9.21 (NousResearch) driving Qwen3.8-27B NVFP4 served by vLLM in the same container.2# Port of gx10 start_hermes_qwen38nvfp4.sh (agents/hermes/Dockerfile + the agents/sandbox.sh3# qwen38-27b-nvfp4 profile). The vLLM part is the qwen38-27b-nvfp4-gb10 capsule's image.4# Base: vllm/vllm-openai:qwen38-flash-next (the image gx10's start script runs), pinned by its multi-arch index digest.5FROM vllm/vllm-openai@sha256:fc120ece0a388cc0aa1caad4a9f1cd92113484ab7ec2fd0efadd62585be05bf867# The agent's tools (as gx10's agent images: git, ripgrep, jq, a C toolchain...).8RUN apt-get update -qq && apt-get install -y --no-install-recommends \9      ca-certificates git ripgrep jq curl xz-utils unzip file less procps build-essential python3-venv \10    && rm -rf /var/lib/apt/lists/*1112# Node 22.23.2 (the version of the node:22 image gx10's agents use), official arm64 build,13# checked against nodejs.org's SHASUMS256.txt.14RUN curl -fsSL https://nodejs.org/dist/v22.23.2/node-v22.23.2-linux-arm64.tar.xz -o /tmp/node.tar.xz \15 && echo "fff4078c5def658577f92c88db7db3bc0072924bfb93fe52c1e744a54e94abb8  /tmp/node.tar.xz" | sha256sum -c - \16 && mkdir -p /opt/node && tar xJf /tmp/node.tar.xz -C /opt/node --strip-components=1 && rm /tmp/node.tar.xz \17 && ln -s /opt/node/bin/node /opt/node/bin/npm /opt/node/bin/npx /usr/local/bin/18ENV PATH=/opt/node/bin:$PATH1920# Hermes's own installer, taken from the pinned commit (the v2026.9.21 tag) and checked by21# sha256, then told to check out that same commit. It provisions a sha256-pinned uv and22# installs Python deps from the repo's lock (pm/lock.json). As root it puts the code in23# /usr/local/lib/hermes-agent and links `hermes` into /usr/local/bin. The browser and24# computer-use stacks are skipped (gigabytes, and the sandbox has no display).25ARG HERMES_COMMIT=d337b736aa1e8ebecfab043842d13e4a2d2f48a326RUN curl -fsSL "https://raw.githubusercontent.com/NousResearch/hermes-agent/${HERMES_COMMIT}/scripts/install.sh" -o /tmp/install.sh \27    && echo "00f9080c6452bf87f03ef2fffb4b2c23b9f43f946aaae956e4c547d17e310b22  /tmp/install.sh" | sha256sum -c - \28    && bash /tmp/install.sh --branch main --commit "${HERMES_COMMIT}" \29         --non-interactive --skip-setup --skip-browser --skip-computer-use \30    && rm -f /tmp/install.sh \31    && hermes --version