name = "python"
marker = "pyproject.toml"
[[provide]]
name = "runtime"
needs = ["python3", "pip3"]
install = "apt-get update && apt-get install -y --no-install-recommends python3 python3-pip python3-venv && rm -rf /var/lib/apt/lists/*"
because = "the base image is a node image and ships no python at all, so nothing in the project can be run"
[[provide]]
name = "tools"
needs = ["pytest", "ruff"]
install = "pip3 install --break-system-packages --no-cache-dir pytest ruff"
because = "pytest runs the tests and ruff formats; neither ships with python"