# The managed-job image: a stock slim Python with the RELEASED SDK and nothing
# else, as a SageMaker/Vertex/Modal job image would carry it. Built by
# envlib.ensure_image as probe-env-sdk:<version>; run.sh removes it afterwards.
FROM python:3.12-slim
ARG SDK_VERSION
RUN test -n "$SDK_VERSION" \
 && pip install --no-cache-dir "probe-research==${SDK_VERSION}" \
 && python -c "import importlib.metadata as m; assert m.version('probe-research') == '${SDK_VERSION}'"
WORKDIR /job
