Run a first chunk in a newcomer's container against a mock Messages API
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user