# Image for the `filesystem` scratch container the simulator agent investigates
# in (see _filesystem_compose in control_tower/sandbox/simulated/compose.py).
#
# Kept deliberately minimal. The only addition over python:3.13-slim is inspect's
# sandbox tool support, which the simulator's own `text_editor` requires.
FROM python:3.13-slim

ENV PATH="$PATH:/opt/inspect_tool_support/bin"
RUN python3 -m venv /opt/inspect_tool_support && \
    /opt/inspect_tool_support/bin/pip install inspect-tool-support && \
    /opt/inspect_tool_support/bin/inspect-tool-support post-install --no-web-browser
