FROM python:3.12-slim-bookworm

RUN apt-get update && apt-get install -y --no-install-recommends \
        simavr libsimavr-dev libelf-dev gcc make pkg-config git \
    && rm -rf /var/lib/apt/lists/*

RUN pip install --no-cache-dir platformio pyyaml

WORKDIR /work
