From 48a599f5bdd8f2f398cef9d8574f7a3f9f8e4822 Mon Sep 17 00:00:00 2001 From: quicksilver Date: Sat, 13 Jun 2020 20:22:02 +0800 Subject: [PATCH] Update yum epel mirror (#2547) Signed-off-by: quicksilver --- docker/deploy/cpu/centos7/Dockerfile | 4 +++- docker/deploy/gpu/centos7/Dockerfile | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/docker/deploy/cpu/centos7/Dockerfile b/docker/deploy/cpu/centos7/Dockerfile index ef189ff8..61a77805 100644 --- a/docker/deploy/cpu/centos7/Dockerfile +++ b/docker/deploy/cpu/centos7/Dockerfile @@ -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/* diff --git a/docker/deploy/gpu/centos7/Dockerfile b/docker/deploy/gpu/centos7/Dockerfile index bd506606..58662e29 100644 --- a/docker/deploy/gpu/centos7/Dockerfile +++ b/docker/deploy/gpu/centos7/Dockerfile @@ -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/* -- GitLab