1
- ARG BASE_UBI_IMAGE_TAG=9.5-1741850109
1
+ ARG BASE_UBI_IMAGE_TAG=9.5-1742914212
2
2
3
3
###############################################################
4
4
# base stage with basic dependencies
@@ -19,7 +19,7 @@ ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib64:/usr/local/lib:/usr/lib64:
19
19
# Note: A symlink for libatomic.so is created for gcc-13 (linker fails to find libatomic otherwise - reqd. for sentencepiece)
20
20
# Note: A dummy file 'control' is created in /tmp/ to artificially create dependencies between stages when building stages in parallel
21
21
# when `--jobs=<N>` is passed with podman build command
22
- RUN microdnf install -y dnf \
22
+ RUN microdnf install -y dnf openssl-devel \
23
23
&& dnf install -y https://mirror.stream.centos.org/9-stream/BaseOS/`arch`/os/Packages/centos-gpg-keys-9.0-24.el9.noarch.rpm \
24
24
https://mirror.stream.centos.org/9-stream/BaseOS/`arch`/os/Packages/centos-stream-repos-9.0-24.el9.noarch.rpm \
25
25
https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm \
@@ -28,7 +28,7 @@ RUN microdnf install -y dnf \
28
28
&& dnf config-manager --set-enabled crb \
29
29
&& dnf install -y \
30
30
git tar gcc-toolset-13 automake libtool numactl-devel lapack-devel \
31
- pkgconfig openssl-devel xsimd zeromq-devel kmod \
31
+ pkgconfig xsimd zeromq-devel kmod \
32
32
libtiff-devel libjpeg-devel openjpeg2-devel zlib-devel \
33
33
freetype-devel lcms2-devel libwebp-devel tcl-devel tk-devel \
34
34
harfbuzz-devel fribidi-devel libraqm-devel libimagequant-devel libxcb-devel \
@@ -37,8 +37,8 @@ RUN microdnf install -y dnf \
37
37
&& ln -sf /usr/lib64/libatomic.so.1 /usr/lib64/libatomic.so \
38
38
&& python${PYTHON_VERSION} -m venv ${VIRTUAL_ENV} \
39
39
&& python -m pip install -U pip uv \
40
- && uv pip install wheel build setuptools setuptools_scm setuptools_rust meson-python cmake ninja cython scikit_build_core scikit_build \
41
- && curl -sL https://ftp2.osuosl.org/pub/ppc64el/openblas/latest/Openblas_${OPENBLAS_VERSION}_ppc64le.tar.gz | tar xvf - -C /usr/local \
40
+ && uv pip install wheel build setuptools setuptools_scm setuptools_rust meson-python ' cmake<4' ninja cython scikit_build_core scikit_build \
41
+ && curl -L --no-progress-meter --retry 5 --retry-connrefused https://ftp2.osuosl.org/pub/ppc64el/openblas/latest/Openblas_${OPENBLAS_VERSION}_ppc64le.tar.gz | tar xvf - -C /usr/local \
42
42
&& curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y \
43
43
&& cd /tmp && touch control
44
44
@@ -263,9 +263,9 @@ RUN --mount=type=cache,target=/root/.cache/uv \
263
263
&& microdnf clean all \
264
264
&& python${PYTHON_VERSION} -m venv ${VIRTUAL_ENV} \
265
265
&& python -m pip install -U pip uv --no-cache \
266
- && curl -sL https://ftp2.osuosl.org/pub/ppc64el/openblas/latest/Openblas_${OPENBLAS_VERSION}_ppc64le.tar.gz | tar xvf - -C /usr/local \
266
+ && curl -L --no-progress-meter --retry 5 --retry-connrefused https://ftp2.osuosl.org/pub/ppc64el/openblas/latest/Openblas_${OPENBLAS_VERSION}_ppc64le.tar.gz | tar xvf - -C /usr/local \
267
267
&& make -C /numactl install \
268
- && uv pip install cmake \
268
+ && uv pip install ' cmake<4' \
269
269
&& cmake --install /lapack/build \
270
270
&& uv pip uninstall cmake
271
271
0 commit comments