# Clean-room container for the GPT-6 Astra (Codex) run: only the room is mounted; Codex state lives outside it.
FROM python:3.15-slim
RUN apt-get update && apt-get install -y --no-install-recommends nodejs npm git ripgrep ca-certificates bubblewrap && rm -rf /var/lib/apt/lists/*
RUN npm install -g @openai/codex && codex --version
# The room's interpreter: NumPy + Pillow only, same versions as the Fable rooms
RUN python -m venv /opt/roomvenv && /opt/roomvenv/bin/pip install --no-cache-dir numpy==2.5.4 pillow==13.0.0
ENV HOME=/root CODEX_HOME=/codexhome
WORKDIR /root
