Jerry Yan q792602257
  • Joined on 2022-10-11

agentcompany (48-5d7a25d)

Published 2026-06-27 14:54:51 +08:00 by q792602257

Installation

docker pull git.jerryyan.net/q792602257/agentcompany:48-5d7a25d
sha256:d9c1b796bc956c6af0d414873dc845080aac78677e3ede4210d63815991fa784

Image Layers

# debian.sh --arch 'amd64' out/ 'bookworm' '@1782172800'
RUN /bin/sh -c 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.1.0
ARG NODE_MIRROR=https://mirrors.tuna.tsinghua.edu.cn/nodejs-release
ARG NPM_REGISTRY=https://registry.npmmirror.com
RUN |3 NODE_VERSION=24.1.0 NODE_MIRROR=https://mirrors.tuna.tsinghua.edu.cn/nodejs-release 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.1.0 NODE_MIRROR=https://mirrors.tuna.tsinghua.edu.cn/nodejs-release 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.1.0 NODE_MIRROR=https://mirrors.tuna.tsinghua.edu.cn/nodejs-release 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=""; [ -n "$HERMES_BRANCH" ] && ref="--branch $HERMES_BRANCH"; 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; chmod -R a+rX "$HERMES_CLI_HOME"; test -x "$HERMES_CLI_HOME/.hermes/hermes-agent/venv/bin/hermes"; 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.1.0 NODE_MIRROR=https://mirrors.tuna.tsinghua.edu.cn/nodejs-release 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.1.0 NODE_MIRROR=https://mirrors.tuna.tsinghua.edu.cn/nodejs-release 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
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
Container
2026-06-27 14:54:51 +08:00
0
OCI / Docker
linux/amd64
794 MiB
Versions (16) View all
latest 2026-06-28
54-15e5cb0 2026-06-28
53-b135fdb 2026-06-27
51-1ea82f7 2026-06-27
50-44a278f 2026-06-27