spawn/sh/docker/hermes.Dockerfile
Ahmed Abushagur 89e5e980c0
fix(docker): add xz-utils to Hermes Dockerfile for Node.js extraction (#2217)
The Hermes installer downloads Node.js as a .tar.xz archive. Without
xz-utils, tar cannot decompress it (exit code 2).

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-05 13:41:53 -05:00

16 lines
410 B
Docker

FROM ubuntu:24.04
ENV DEBIAN_FRONTEND=noninteractive
# Base packages
RUN apt-get update -y && \
apt-get install -y --no-install-recommends \
curl git ca-certificates unzip xz-utils && \
rm -rf /var/lib/apt/lists/*
# Hermes Agent
RUN curl --proto '=https' -fsSL \
https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh \
| bash
CMD ["/bin/sleep", "inf"]