未验证 提交 48a599f5 编写于 作者: Q quicksilver 提交者: GitHub

Update yum epel mirror (#2547)

Signed-off-by: Nquicksilver <zhifeng.zhang@zilliz.com>
上级 5727cd13
...@@ -13,7 +13,9 @@ FROM milvusdb/milvus-dev:amd64-centos-7-core AS openblas ...@@ -13,7 +13,9 @@ FROM milvusdb/milvus-dev:amd64-centos-7-core AS openblas
FROM centos:centos7 FROM centos:centos7
RUN yum install -y epel-release && \ RUN yum install -y wget && \
wget -P /etc/yum.repos.d/ http://mirrors.aliyun.com/repo/epel-7.repo && \
yum clean all && yum makecache && \
yum install -y libgomp libgfortran4 mysql-devel && \ yum install -y libgomp libgfortran4 mysql-devel && \
rm -rf /var/cache/yum/* rm -rf /var/cache/yum/*
......
...@@ -15,7 +15,9 @@ FROM nvidia/cuda:10.1-devel-centos7 ...@@ -15,7 +15,9 @@ FROM nvidia/cuda:10.1-devel-centos7
ENV NVIDIA_DRIVER_CAPABILITIES compute,utility ENV NVIDIA_DRIVER_CAPABILITIES compute,utility
RUN yum --disablerepo=cuda install -y epel-release && \ RUN yum --disablerepo=cuda install -y wget && \
wget -P /etc/yum.repos.d/ http://mirrors.aliyun.com/repo/epel-7.repo && \
yum clean all && yum makecache && \
yum --disablerepo=cuda install -y libgomp libgfortran4 mysql-devel && \ yum --disablerepo=cuda install -y libgomp libgfortran4 mysql-devel && \
rm -rf /var/cache/yum/* rm -rf /var/cache/yum/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册