Game run container stub — Create Dockerfile.ff1-runner with Python 3.11-slim, cynes, and ff1-agent package stub. See implementation guide Section 10.6 for the two-container design.

closed ff1-agent-1c4 P1

Description

Create Dockerfile.ff1-runner per implementation guide Section 10.6. Base: python:3.11-slim. Install cynes, fastapi, uvicorn, pydantic, httpx, numpy, pillow, click, jinja2, pyyaml. COPY ff1_agent/ and pyproject.toml, pip install -e .. Set ENTRYPOINT to ff1-agent. Acceptance: docker build -f Dockerfile.ff1-runner -t ff1-runner . succeeds.

Labels

test

Dependencies

No dependencies.

Artifacts

Summary

Created Dockerfile.ff1-runner for the game run container (Section 10.6). Base image: python:3.11-slim. Installs all 10 required packages (cynes, fastapi, uvicorn, pydantic, httpx, numpy, pillow, click, jinja2, pyyaml) via pip with --no-cache-dir. COPYs ff1_agent/ and pyproject.toml, installs package in editable mode. Declares VOLUME mounts for /app/knowledge and /app/runs. Sets ENTRYPOINT to exec-form ["ff1-agent"].

Status: complete

Files created (3)
  • Dockerfile.ff1-runner
  • tests/test_dockerfile_ff1_runner.py
  • tests/adversarial/test_dockerfile_runner_adversarial.py

Tests

total new adversarial All passing

Code Review

Verdict: APPROVED

Critical issues: found, fixed

Adversarial Testing

tests written [] bugs found bugs fixed