spawn/sh/docker/t3code.Dockerfile
B f9c8e12a9c fix(docker): add missing t3code.Dockerfile for --beta docker/sandbox support
t3code was added to the agent matrix but its Dockerfile was never created.
Users running `spawn t3code <cloud> --beta docker`, `--beta sandbox`, or in
the fast_provision experiment group hit a runtime failure because the image
ghcr.io/openrouterteam/spawn-t3code:latest does not exist.

Follows the same pattern as pi.Dockerfile: ubuntu:24.04, Node.js 22 via n,
`npm install -g t3`.

The .github/workflows/docker.yml matrix update is tracked in #3418 (requires
human review — off-limits for automated agents).

Agent: refactor/code-health
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-21 13:03:48 +00:00

17 lines
489 B
Docker

FROM ubuntu:24.04
ENV DEBIAN_FRONTEND=noninteractive
# Base packages
RUN apt-get update -y && \
apt-get install -y --no-install-recommends \
curl git ca-certificates build-essential unzip zsh && \
rm -rf /var/lib/apt/lists/*
# Node.js 22 via n
RUN curl --proto '=https' -fsSL https://raw.githubusercontent.com/tj/n/master/bin/n | bash -s install 22
# T3 Code (web GUI wrapping Claude Code and Codex via browser interface)
RUN npm install -g t3
CMD ["/bin/sleep", "inf"]