# SUPERSEDED by Dockerfile.v2 (kept for the record). This version is WEAKER: no root meter, so CPU of orphaned
# descendants is not billed, and fpylll fails to import (missing cysignals). Do not use.
# Judge-side sandbox for UNTRUSTED submissions. One instance at a time, one pinned core, no network,
# read-only root, and the seed file is never mounted: the harness feeds instances on stdin only.
FROM python:3.12-slim
RUN pip install --no-cache-dir fpylll numpy
RUN useradd -m -u 10001 solver
WORKDIR /work
COPY runner.py /work/runner.py
USER solver
ENTRYPOINT ["python3", "/work/runner.py"]
