Skip to content

Commit f83df12

Browse files
CentOS 7 build failed in rocm5.1_internal_testing branch (#900)
* Fix packages.endpoint.com server error * fix endpoint repo Co-authored-by: Jithun Nair <[email protected]>
1 parent 5bed44d commit f83df12

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.circleci/docker/centos-rocm/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ RUN bash ./install_base.sh && rm install_base.sh
1818
# Update CentOS git version
1919
RUN yum -y remove git
2020
RUN yum -y remove git-*
21-
RUN yum -y install https://packages.endpointdev.com/rhel/7/os/x86_64/endpoint-repo-1.9-1.x86_64.rpm
21+
RUN yum -y install https://packages.endpoint.com/rhel/7/os/x86_64/endpoint-repo-1.9-1.x86_64.rpm || \
22+
(yum -y install https://packages.endpointdev.com/rhel/7/os/x86_64/endpoint-repo-1.9-1.x86_64.rpm && \
23+
sed -i "s/packages.endpoint/packages.endpointdev/" /etc/yum.repos.d/endpoint.repo)
2224
RUN yum install -y git
2325

2426
# Install devtoolset

0 commit comments

Comments
 (0)