Skip to content

Commit 6598819

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 7ef0fec commit 6598819

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
@@ -14,7 +14,9 @@ RUN bash ./install_base.sh && rm install_base.sh
1414
# Update CentOS git version
1515
RUN yum -y remove git
1616
RUN yum -y remove git-*
17-
RUN yum -y install https://packages.endpoint.com/rhel/7/os/x86_64/endpoint-repo-1.9-1.x86_64.rpm
17+
RUN yum -y install https://packages.endpoint.com/rhel/7/os/x86_64/endpoint-repo-1.9-1.x86_64.rpm || \
18+
(yum -y install https://packages.endpointdev.com/rhel/7/os/x86_64/endpoint-repo-1.9-1.x86_64.rpm && \
19+
sed -i "s/packages.endpoint/packages.endpointdev/" /etc/yum.repos.d/endpoint.repo)
1820
RUN yum install -y git
1921

2022
# Install devtoolset

0 commit comments

Comments
 (0)