Home > Mobile >  How to upgrade cURL to 7.71.0 in a docker image with centos7.x as the base
How to upgrade cURL to 7.71.0 in a docker image with centos7.x as the base

Time:06-22

Title is pretty self explanatory, when using yum upgrade curl it doesn't upgrade curl beyond 7.29.0 witch is an issue because I need to use the --retry-all-errors flag in the docker images startup script.

CodePudding user response:

Running the below commands solved my issue

sudo rpm -Uvh http://www.city-fan.org/ftp/contrib/yum-repo/rhel7/x86_64/city-fan.org-release-2-2.rhel7.noarch.rpm
sudo yum install -y yum-utils
sudo yum-config-manager --disable city-fan.org
sudo yum -y --enablerepo=city-fan.org install libcurl libcurl-devel````
  • Related