Skip to content

Commit a1d23a1

Browse files
authored
Merge pull request #93 from red-hat-data-services/moulalis-patch-3
add retries and get rid of progress meter
2 parents d1c8f53 + 6b55376 commit a1d23a1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile.ppc64le.ubi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ RUN microdnf install -y dnf openssl-devel \
2727
&& dnf config-manager --add-repo https://mirror.stream.centos.org/9-stream/AppStream/`arch`/os \
2828
&& dnf config-manager --set-enabled crb \
2929
&& dnf install -y \
30-
git tar gcc-toolset-13 automake libtool numactl-devel lapack-devel \
30+
git file tar gcc-toolset-13 automake libtool numactl-devel lapack-devel \
3131
pkgconfig xsimd zeromq-devel kmod \
3232
libtiff-devel libjpeg-devel openjpeg2-devel zlib-devel \
3333
freetype-devel lcms2-devel libwebp-devel tcl-devel tk-devel \
@@ -38,7 +38,7 @@ RUN microdnf install -y dnf openssl-devel \
3838
&& python${PYTHON_VERSION} -m venv ${VIRTUAL_ENV} \
3939
&& python -m pip install -U pip uv \
4040
&& 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 \
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 \
4242
&& curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y \
4343
&& cd /tmp && touch control
4444

@@ -263,7 +263,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \
263263
&& microdnf clean all \
264264
&& python${PYTHON_VERSION} -m venv ${VIRTUAL_ENV} \
265265
&& 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 \
267267
&& make -C /numactl install \
268268
&& uv pip install cmake \
269269
&& cmake --install /lapack/build \

0 commit comments

Comments
 (0)