Run a first chunk in a newcomer's container against a mock Messages API

This commit is contained in:
2026-12-04 06:41:30 +01:00
parent bd93c29295
commit 33fcca6a2e
4 changed files with 266 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
# A newcomer's machine: what README.md → Install asks for, and a stock Claude Code, with nothing of this repo.
# The python tag is ci.sh's. git and tmux come from Debian's current apt: the run needs no exact version.
FROM python:3.14.8
RUN apt-get update \
&& apt-get install --yes --no-install-recommends git tmux \
&& rm -rf /var/lib/apt/lists/*
# Claude Code refuses to skip permission prompts as root.
RUN useradd --create-home newcomer
USER newcomer
WORKDIR /home/newcomer
ENV PATH=/home/newcomer/.local/bin:$PATH
# The version the probes of docs/decisions.md → `Claude Code in a home of its own` ran on.
RUN curl --fail --silent --show-error --location https://claude.ai/install.sh | bash -s 2.1.336