Skip to content

Commit b0adc61

Browse files
committed
[CI] issue: HPCINFRA-4050 Replace webrepo address with geoDNS address
Replace webrepo.mtr.labs.mlnx with a geoDNS webrepo.gtm.nvidia.com to fix repository timeout issues. Signed-off-by: Noam Tsemah <[email protected]>
1 parent 9e1d79d commit b0adc61

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.ci/dockerfiles/Dockerfile.ol9.4

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,19 @@ ARG _UID=6213
66
ARG _GID=101
77
ARG _LOGIN=swx-jenkins
88
ARG _HOME=/var/home/$_LOGIN
9+
ARG WEBREPO_URL=webrepo.gtm.nvidia.com
10+
11+
RUN sed -i 's|\$WEBREPO_URL|'"${WEBREPO_URL}"'|g' /etc/yum.repos.d/*.repo && \
12+
yum clean all && \
13+
yum makecache
914

1015
RUN yum install yum-utils \
1116
&& yum-config-manager --add-repo https://dl.fedoraproject.org/pub/epel/9/Everything/aarch64/ \
1217
&& yum install -y --nogpgcheck \
1318
autoconf automake make libtool git gcc-c++ libtool json-c-devel \
1419
clang rdma-core-devel openssl-devel glib2-devel libnl3-devel \
1520
python3-pip sudo rpm-build gtest-devel meson ninja-build \
16-
libzip-devel yara-devel libpcap-devel jsoncpp-devel \
21+
libzip-devel libpcap-devel jsoncpp-devel \
1722
&& yum clean all \
1823
&& rm -rf /var/cache/yum && rm -rf /var/cache/dnf
1924

0 commit comments

Comments
 (0)