apache / linkis

Apache Linkis builds a computation middleware layer to facilitate connection, governance and orchestration between the upper applications and the underlying data engines.
https://linkis.apache.org/
Apache License 2.0
3.3k stars 1.16k forks source link

Update mirrors of centos7 #5150

Closed wForget closed 2 months ago

wForget commented 2 months ago

What is the purpose of the change

Update mirrors of centos7.

Refer:

https://github.com/apache/arrow/blob/21238a7f5ebb224410d84ecf32dbe3556cab363a/ci/docker/centos-7-cpp.dockerfile#L20-L26

Fix failed integration test, error:

     [exec] #7 [linkis-base 2/3] RUN yum install -y        less vim unzip curl sudo krb5-workstation sssd crontabs net-tools python-pip glibc-common        java-1.8.0-openjdk-1.8.0.332.b09-1.el7_9        java-1.8.0-openjdk-devel-1.8.0.332.b09-1.el7_9        mysql     && yum clean all
     [exec] #7 0.418 Loaded plugins: fastestmirror, ovl
     [exec] #7 0.512 Determining fastest mirrors
     [exec] #7 0.525 Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=container error was
     [exec] #7 0.525 14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"

Related issues/PRs

Brief change log

Checklist