FROM ghcr.io/astral-sh/uv:0.13.7@sha256:96f40d3904aad8d0bd010539001d36c8e2188b981e1334471a90c4a1d93bb490 AS uv
FROM python:3.13-slim-bookworm@sha256:a5a7017efc5969e00ae2b91c8eb0631049a569652aa4ffc4501769049ae45c72
COPY --from=uv /uv /uvx /usr/local/bin/
COPY tests/conformance/install_tools.py /install_tools.py
ARG TARGETARCH
RUN python3 /install_tools.py "$TARGETARCH"
ENV PATH="/opt/zig:/usr/local/bin:/usr/bin:/bin"