Initial commit

This commit is contained in:
2026-10-27 01:02:14 +01:00
commit ea23cf1a50
5 changed files with 203 additions and 0 deletions

24
Containerfile Normal file
View File

@@ -0,0 +1,24 @@
# claudio — minimal image for running Claude Code in isolation.
# Rebuild with `claudio update` to get the latest base packages and Claude Code.
FROM docker.io/library/debian:stable-slim
# Base tools Claude Code relies on. Add project-wide tools here (python3, nodejs, ...).
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
ca-certificates curl git ripgrep less procps openssh-client \
&& rm -rf /var/lib/apt/lists/* \
&& useradd -m -u 1000 -s /bin/bash claude
# Native Claude Code binary, installed system-wide (not in $HOME) so that image
# rebuilds update it even though /home/claude is a persistent volume.
RUN curl -fsSL https://claude.ai/install.sh | HOME=/tmp/cc bash \
&& cp -L /tmp/cc/.local/bin/claude /usr/local/bin/claude \
&& rm -rf /tmp/cc
# Updates come from rebuilding the image, not from in-container self-updates.
ENV DISABLE_AUTOUPDATER=1 \
PATH=/home/claude/.local/bin:$PATH
USER claude
WORKDIR /home/claude
ENTRYPOINT ["claude"]