# Python 3.13 on Debian, pinned by digest (amd64 and arm64), with exact package versions, so every
# build runs the same code.
FROM python:3.13-slim@sha256:57b29a7c050c4e679e4bea572e14b3965cf4b5839de2da49d55e49ffc4024f39
ENV OPENBLAS_NUM_THREADS=1 OMP_NUM_THREADS=1 PYTHONDONTWRITEBYTECODE=1
RUN pip install --no-cache-dir numpy==2.5.4 scipy==1.18.1 astropy==8.0.2 pandas==3.1.0 \
 && python -c "import numpy, scipy, astropy, pandas; v = [m.__version__ for m in (numpy, scipy, astropy, pandas)]; print(v); assert v == ['2.5.4', '1.18.1', '8.0.2', '3.1.0']"
