Block a user
agentcompany (latest)
Published 2026-08-06 12:35:56 +08:00 by q792602257
Installation
docker pull git.jerryyan.net/q792602257/agentcompany:latestsha256:d6f5f9311f8f8d5bc02befbdaee9f1a8f278fc4cee551ca2ed2bd734140b843a
Image Layers
| # debian.sh --arch 'amd64' out/ 'bookworm' '@1785715200' |
| RUN /bin/sh -c sed -i 's|deb.debian.org|mirrors.ustc.edu.cn|g' /etc/apt/sources.list.d/debian.sources && sed -i 's|security.debian.org|mirrors.ustc.edu.cn|g' /etc/apt/sources.list.d/debian.sources && apt-get update && apt-get install -y --no-install-recommends ca-certificates curl git python3 python3-venv ripgrep ffmpeg && rm -rf /var/lib/apt/lists/* # buildkit |
| COPY /uv /uvx /usr/local/bin/ # buildkit |
| ENV HERMES_HOME=/data/.hermes |
| ARG NODE_VERSION=24.17.0 |
| ARG NODE_MIRROR=https://registry.npmmirror.com/-/binary/node |
| ARG NPM_REGISTRY=https://registry.npmmirror.com |
| RUN |3 NODE_VERSION=24.17.0 NODE_MIRROR=https://registry.npmmirror.com/-/binary/node NPM_REGISTRY=https://registry.npmmirror.com /bin/sh -c set -eux; curl -fsSL "${NODE_MIRROR}/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-x64.tar.gz" -o /tmp/node.tar.gz; tar -xzf /tmp/node.tar.gz -C /usr/local --strip-components=1; rm -f /tmp/node.tar.gz; node --version; npm --version # buildkit |
| RUN |3 NODE_VERSION=24.17.0 NODE_MIRROR=https://registry.npmmirror.com/-/binary/node NPM_REGISTRY=https://registry.npmmirror.com /bin/sh -c set -eux; mkdir -p "$HERMES_HOME/bin"; cp /usr/local/bin/uv /usr/local/bin/uvx "$HERMES_HOME/bin/"; "$HERMES_HOME/bin/uv" --version # buildkit |
| ENV HERMES_CLI_HOME=/opt/hermes |
| ARG HERMES_INSTALL_URL=https://cdn.jerryyan.net/assets/gh/hermes-agent-install.sh |
| ARG HERMES_BRANCH=main |
| ARG HERMES_INSTALL_FLAGS=--skip-setup |
| ARG UV_PYTHON_INSTALL_MIRROR=https://mirrors.tuna.tsinghua.edu.cn/github-release/astral-sh/python-build-standalone/releases/download |
| ARG UV_DEFAULT_INDEX=https://pypi.tuna.tsinghua.edu.cn/simple |
| ENV UV_PYTHON_INSTALL_MIRROR=https://mirrors.tuna.tsinghua.edu.cn/github-release/astral-sh/python-build-standalone/releases/download UV_DEFAULT_INDEX=https://pypi.tuna.tsinghua.edu.cn/simple |
| RUN |8 NODE_VERSION=24.17.0 NODE_MIRROR=https://registry.npmmirror.com/-/binary/node NPM_REGISTRY=https://registry.npmmirror.com HERMES_INSTALL_URL=https://cdn.jerryyan.net/assets/gh/hermes-agent-install.sh HERMES_BRANCH=main HERMES_INSTALL_FLAGS=--skip-setup UV_PYTHON_INSTALL_MIRROR=https://mirrors.tuna.tsinghua.edu.cn/github-release/astral-sh/python-build-standalone/releases/download UV_DEFAULT_INDEX=https://pypi.tuna.tsinghua.edu.cn/simple /bin/sh -c set -eux; if [ -n "$HERMES_INSTALL_URL" ]; then mkdir -p "$HERMES_CLI_HOME"; curl -fsSL "$HERMES_INSTALL_URL" -o /tmp/install-hermes.sh; ref=""; if [ -n "$HERMES_BRANCH" ]; then ref="--branch $HERMES_BRANCH"; fi; HOME="$HERMES_CLI_HOME" bash /tmp/install-hermes.sh $HERMES_INSTALL_FLAGS $ref; rm -f /tmp/install-hermes.sh; ln -sf "$HERMES_CLI_HOME/.hermes/hermes-agent/venv/bin/hermes" /usr/local/bin/hermes; uv pip install --python "$HERMES_CLI_HOME/.hermes/hermes-agent/venv/bin/python" aiohttp; chmod -R a+rX "$HERMES_CLI_HOME"; test -x "$HERMES_CLI_HOME/.hermes/hermes-agent/venv/bin/hermes"; (cd "$HERMES_CLI_HOME/.hermes/hermes-agent" && HERMES_HOME=/tmp/hermes-import-probe ./venv/bin/python -c "from gateway.platforms.api_server import APIServerAdapter"); rm -rf /tmp/hermes-import-probe; command -v hermes && hermes --version || true; else echo "WARNING: building without the Hermes CLI (HERMES_INSTALL_URL empty) — console runs read-only"; fi # buildkit |
| ARG OPENCLAW_INSTALL=1 |
| ARG OPENCLAW_VERSION=latest |
| RUN |10 NODE_VERSION=24.17.0 NODE_MIRROR=https://registry.npmmirror.com/-/binary/node NPM_REGISTRY=https://registry.npmmirror.com HERMES_INSTALL_URL=https://cdn.jerryyan.net/assets/gh/hermes-agent-install.sh HERMES_BRANCH=main HERMES_INSTALL_FLAGS=--skip-setup UV_PYTHON_INSTALL_MIRROR=https://mirrors.tuna.tsinghua.edu.cn/github-release/astral-sh/python-build-standalone/releases/download UV_DEFAULT_INDEX=https://pypi.tuna.tsinghua.edu.cn/simple OPENCLAW_INSTALL=1 OPENCLAW_VERSION=latest /bin/sh -c set -eux; if [ "$OPENCLAW_INSTALL" = "1" ]; then npm install -g --registry="$NPM_REGISTRY" "openclaw@${OPENCLAW_VERSION}"; rm -rf /root/.npm; openclaw --version; else echo "INFO: building without OpenClaw (OPENCLAW_INSTALL=0) — backend=openclaw runs fall back to mock"; fi # buildkit |
| RUN |10 NODE_VERSION=24.17.0 NODE_MIRROR=https://registry.npmmirror.com/-/binary/node NPM_REGISTRY=https://registry.npmmirror.com HERMES_INSTALL_URL=https://cdn.jerryyan.net/assets/gh/hermes-agent-install.sh HERMES_BRANCH=main HERMES_INSTALL_FLAGS=--skip-setup UV_PYTHON_INSTALL_MIRROR=https://mirrors.tuna.tsinghua.edu.cn/github-release/astral-sh/python-build-standalone/releases/download UV_DEFAULT_INDEX=https://pypi.tuna.tsinghua.edu.cn/simple OPENCLAW_INSTALL=1 OPENCLAW_VERSION=latest /bin/sh -c useradd --create-home --uid 10001 app && mkdir -p "$HERMES_HOME" && chown -R app:app /data # buildkit |
| COPY /out/web /usr/local/bin/web # buildkit |
| COPY /out/dbmigrate /usr/local/bin/dbmigrate # buildkit |
| COPY /out/useradmin /usr/local/bin/useradmin # buildkit |
| USER app |
| WORKDIR /data |
| VOLUME [/data] |
| EXPOSE [8080/tcp] |
| HEALTHCHECK {Test:[CMD-SHELL curl -fsS http://localhost:8080/ >/dev/null || exit 1] Interval:30s Timeout:3s StartPeriod:5s StartInterval:0s Retries:3} |
| ENTRYPOINT ["web"] |
| CMD ["-addr" ":8080" "-home" "/data/.hermes"] |
Details
2026-08-06 12:35:56 +08:00
Versions (5)
View all
Container
1
OCI / Docker
linux/amd64
959 MiB
latest
2026-08-06
106-ff56828
2026-08-06
100-8118d1e
2026-08-06
81-4957103
2026-08-05
54-15e5cb0
2026-06-28