Update yum epel mirror (#2547)

Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com>
pull/2559/head
quicksilver 2020-06-13 20:22:02 +08:00 committed by GitHub
parent 5727cd139e
commit 48a599f5bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -13,7 +13,9 @@ FROM milvusdb/milvus-dev:amd64-centos-7-core AS openblas
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 && \
rm -rf /var/cache/yum/*

View File

@ -15,7 +15,9 @@ FROM nvidia/cuda:10.1-devel-centos7
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 && \
rm -rf /var/cache/yum/*