You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by ms...@apache.org on 2019/09/05 18:57:26 UTC

[cassandra-builds] branch master updated: Fix yum error with curl update

This is an automated email from the ASF dual-hosted git repository.

mshuler pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cassandra-builds.git


The following commit(s) were added to refs/heads/master by this push:
     new f6d63bb  Fix yum error with curl update
f6d63bb is described below

commit f6d63bbe7d82f50ceda5ebb43b6e5f9edbe5e4c9
Author: Michael Shuler <mi...@pbandjelly.org>
AuthorDate: Thu Sep 5 11:57:01 2019 -0700

    Fix yum error with curl update
---
 docker/centos7-image.docker | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/docker/centos7-image.docker b/docker/centos7-image.docker
index 1d80216..47a7e87 100644
--- a/docker/centos7-image.docker
+++ b/docker/centos7-image.docker
@@ -22,6 +22,11 @@ RUN yum -y install \
    rpm-build \
    sudo
 
+# fix yum error after installing epel-release:
+#  Cannot retrieve metalink for repository: epel/x86_64. Please verify its path and try again
+# https://stackoverflow.com/questions/48320850/installing-epel-repository-on-centos-7-breaks-yum-functionality
+RUN yum -y update curl --disablerepo=epel
+
 # via epel-releases
 RUN yum -y install python2-pip
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org