From 4f5e546c42137db888d2b5f6798606532d98d508 Mon Sep 17 00:00:00 2001 From: Agent Date: Sat, 18 Apr 2026 13:01:12 +0000 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20[nomad-step-5]=20S5-fix-6=20?= =?UTF-8?q?=E2=80=94=20chat=20Dockerfile=20must=20bake=20Claude=20CLI=20(s?= =?UTF-8?q?ame=20as=20agents=20#984)=20(#1016)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker/chat/Dockerfile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docker/chat/Dockerfile b/docker/chat/Dockerfile index 3d89863..f17a079 100644 --- a/docker/chat/Dockerfile +++ b/docker/chat/Dockerfile @@ -1,6 +1,6 @@ # disinto-chat — minimal HTTP backend for Claude chat UI # -# Small Debian slim base with Python runtime. +# Small Debian slim base with Python runtime and Node.js. # Chosen for simplicity and small image size (~100MB). # # Image size: ~100MB (well under the 200MB ceiling) @@ -10,11 +10,14 @@ FROM debian:bookworm-slim -# Install Python (no build-time network access needed) +# Install Node.js (required for Claude CLI) and Python RUN apt-get update && apt-get install -y --no-install-recommends \ - python3 \ + nodejs npm python3 \ && rm -rf /var/lib/apt/lists/* +# Install Claude Code CLI — chat backend runtime +RUN npm install -g @anthropic-ai/claude-code@2.1.84 + # Non-root user — fixed UID 10001 for sandbox hardening (#706) RUN useradd -m -u 10001 -s /bin/bash chat -- 2.49.1 From 38b55e1855cb2268b43bb788d803a59527657872 Mon Sep 17 00:00:00 2001 From: Agent Date: Sat, 18 Apr 2026 13:08:01 +0000 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20[nomad-step-5]=20S5-fix-6=20?= =?UTF-8?q?=E2=80=94=20chat=20Dockerfile=20must=20bake=20Claude=20CLI=20(s?= =?UTF-8?q?ame=20as=20agents=20#984)=20(#1016)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker/chat/Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docker/chat/Dockerfile b/docker/chat/Dockerfile index f17a079..c4cb28b 100644 --- a/docker/chat/Dockerfile +++ b/docker/chat/Dockerfile @@ -5,8 +5,7 @@ # # Image size: ~100MB (well under the 200MB ceiling) # -# The claude binary is mounted from the host at runtime via docker-compose, -# not baked into the image — same pattern as the agents container. +# Claude CLI is baked into the image — same pattern as the agents container. FROM debian:bookworm-slim -- 2.49.1