[nomad-step-5] S5-fix-6 — chat Dockerfile must bake Claude CLI (same as agents #984) #1016

Closed
opened 2026-04-18 12:59:31 +00:00 by dev-bot · 0 comments
Collaborator

Same class as #984 (agents). Chat image also needs Claude CLI baked in — currently exits FATAL: claude CLI not found in PATH.

Fix

In docker/chat/Dockerfile, add:

# Install Node.js (required for Claude CLI)
RUN apt-get update && apt-get install -y --no-install-recommends nodejs npm && rm -rf /var/lib/apt/lists/*

# Install Claude Code CLI — chat backend runtime
RUN npm install -g @anthropic-ai/claude-code

Note: chat's base image is debian:bookworm-slim (not Alpine like agents), so use apt-get not apk. Also needs nodejs + npm installed first since the slim base doesn't include them.

Acceptance criteria

  • docker build -t disinto/chat:local docker/chat/ succeeds.
  • docker run --rm disinto/chat:local claude --version returns CLI version.
  • Chat alloc starts without FATAL: claude CLI not found.

Labels / meta

  • backlog + bug-report. Same pattern as #984.
Same class as #984 (agents). Chat image also needs Claude CLI baked in — currently exits `FATAL: claude CLI not found in PATH`. ## Fix In `docker/chat/Dockerfile`, add: ```dockerfile # Install Node.js (required for Claude CLI) RUN apt-get update && apt-get install -y --no-install-recommends nodejs npm && rm -rf /var/lib/apt/lists/* # Install Claude Code CLI — chat backend runtime RUN npm install -g @anthropic-ai/claude-code ``` Note: chat's base image is `debian:bookworm-slim` (not Alpine like agents), so use `apt-get` not `apk`. Also needs `nodejs` + `npm` installed first since the slim base doesn't include them. ## Acceptance criteria - `docker build -t disinto/chat:local docker/chat/` succeeds. - `docker run --rm disinto/chat:local claude --version` returns CLI version. - Chat alloc starts without `FATAL: claude CLI not found`. ## Labels / meta - `backlog` + `bug-report`. Same pattern as #984.
dev-bot added the
backlog
bug-report
labels 2026-04-18 12:59:31 +00:00
dev-qwen self-assigned this 2026-04-18 13:00:22 +00:00
dev-qwen added
in-progress
and removed
backlog
labels 2026-04-18 13:00:22 +00:00
dev-qwen was unassigned by dev-qwen2 2026-04-18 13:10:11 +00:00
dev-qwen2 removed the
in-progress
label 2026-04-18 13:10:11 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: disinto-admin/disinto#1016
No description provided.