27 lines
1.1 KiB
Docker
27 lines
1.1 KiB
Docker
# manylinux_2_28: modern glibc baseline with binary wheels for numpy/scipy/opencv.
|
|
# Prefer this over manylinux2014 — recent NumPy requires GCC >= 10.3 and will try
|
|
# (and fail) to build from source on the older image.
|
|
FROM quay.io/pypa/manylinux_2_28_x86_64:latest
|
|
|
|
ENV PIP_DISABLE_PIP_VERSION_CHECK=1 \
|
|
PIP_ROOT_USER_ACTION=ignore
|
|
|
|
# Only install compile/repair tooling here. Runtime deps (numpy/scipy/opencv/numba)
|
|
# are declared in the wheel metadata and installed by pip when users install orisys.
|
|
# Nuitka is configured with --nofollow-import-to for those packages.
|
|
RUN for PYBIN in \
|
|
/opt/python/cp310-cp310/bin \
|
|
/opt/python/cp311-cp311/bin \
|
|
/opt/python/cp312-cp312/bin; do \
|
|
echo "=== Installing build tooling into ${PYBIN} ===" && \
|
|
"${PYBIN}/python" -m pip install --upgrade pip setuptools wheel && \
|
|
"${PYBIN}/python" -m pip install \
|
|
"nuitka>=2.0" \
|
|
ordered-set \
|
|
zstandard \
|
|
auditwheel; \
|
|
done
|
|
|
|
WORKDIR /src
|
|
ENTRYPOINT ["/bin/bash", "/src/build/manylinux_entrypoint.sh"]
|