diff options
| author | Lu Qiuwen <[email protected]> | 2021-07-15 20:43:26 +0800 |
|---|---|---|
| committer | Lu Qiuwen <[email protected]> | 2021-07-15 20:43:26 +0800 |
| commit | 78f0c494d66213b2562ce050c0803c8338c2207b (patch) | |
| tree | 1c39df3d9b357bf9f48b7e5d9715cd45285e1321 | |
| parent | c3cd7898c9ce6ff7e43e6635bd44c50afaeed97e (diff) | |
调整SCLO镜像的源,使用阿里云的镜像。
| -rw-r--r-- | CentOS-SCLo-scl.repo | 11 | ||||
| -rw-r--r-- | Dockerfile | 2 |
2 files changed, 12 insertions, 1 deletions
diff --git a/CentOS-SCLo-scl.repo b/CentOS-SCLo-scl.repo new file mode 100644 index 0000000..2b41665 --- /dev/null +++ b/CentOS-SCLo-scl.repo @@ -0,0 +1,11 @@ +# CentOS-SCLo-sclo.repo +# +# Please see http://wiki.centos.org/SpecialInterestGroup/SCLo for more +# information + +[centos-sclo-sclo] +name=CentOS-7 - SCLo sclo +baseurl=http://mirrors.aliyun.com/centos/7/sclo/$basearch/sclo/ +gpgcheck=0 +enabled=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo @@ -3,6 +3,7 @@ COPY rpm_upload_tools.py /root/rpm_upload_tools.py COPY file_upload_tools.py /root/file_upload_tools.py COPY repo.internal.geedge.net.repo /tmp/repo.internal.geedge.net.repo COPY CentOS-Base.repo /tmp/CentOS-Base.repo +COPY CentOS-SCLo-scl.repo /tmp/CentOS-SCLo-scl.repo COPY netrc.conf /root/.netrc COPY cmake /tmp/build_cmake @@ -17,7 +18,6 @@ RUN rm -rf /etc/yum.repos.d/* && \ yum install -y python3-pip && \ pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple httpie && \ curl -sL https://sentry.io/get-cli/ |sed 's#downloads\.sentry-cdn\.com#npm\.taobao\.org\/mirrors#g'|bash && \ - yum install -y centos-release-scl && \ yum install -y devtoolset-7 devtoolset-7-libasan-devel && \ yum install -y libasan libasan4 && \ yum clean all && \ |
