From 7a4da315a2bc646fe1498194f8bd1611744ed144 Mon Sep 17 00:00:00 2001 From: Ben Barclay Date: Thu, 30 Apr 2026 11:49:40 +1000 Subject: [PATCH] fix(docker): add curl to apt dependencies MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit curl is a ubiquitous tool both for users running ad-hoc commands inside the container (debugging, health checks, quick HTTP probes) and for agent workflows — many bundled skills and hub skills lean on curl for HTTP calls, API exploration, and installer bootstrapping. Its absence causes silent workflow failures with "curl: command not found" until the user manually apt-installs it. Add curl to the single apt-get install layer alongside the other base utilities (build-essential, nodejs, git, openssh-client, etc.) so it ships in the image with zero extra layers and negligible size impact (~400 KB). - Dockerfile: add curl to the apt-get install list --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index d988ea640..722836bfc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,7 @@ ENV PLAYWRIGHT_BROWSERS_PATH=/opt/hermes/.playwright # that would otherwise accumulate when hermes runs as PID 1. See #15012. RUN apt-get update && \ apt-get install -y --no-install-recommends \ - build-essential nodejs npm python3 ripgrep ffmpeg gcc python3-dev libffi-dev procps git openssh-client docker-cli tini && \ + build-essential curl nodejs npm python3 ripgrep ffmpeg gcc python3-dev libffi-dev procps git openssh-client docker-cli tini && \ rm -rf /var/lib/apt/lists/* # Non-root user for runtime; UID can be overridden via HERMES_UID at runtime @@ -70,4 +70,4 @@ ENV HERMES_WEB_DIST=/opt/hermes/hermes_cli/web_dist ENV HERMES_HOME=/opt/data ENV PATH="/opt/data/.local/bin:${PATH}" VOLUME [ "/opt/data" ] -ENTRYPOINT [ "/usr/bin/tini", "-g", "--", "/opt/hermes/docker/entrypoint.sh" ] +ENTRYPOINT [ "/usr/bin/tini", "-g", "--", "/opt/hermes/docker/entrypoint.sh" ] \ No newline at end of file