Skip to content

Commit 858477b

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 858477b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.ci/dockerfiles/Dockerfile.ol9.4

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ 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 makecache
913

1014
RUN yum install yum-utils \
1115
&& yum-config-manager --add-repo https://dl.fedoraproject.org/pub/epel/9/Everything/aarch64/ \

0 commit comments

Comments
 (0)