I am trying to modify an existing Docker Image and trying to install the latest version of pip using OS packages in centos:latest
as base image.
The existing Dockerfile is using RUN dnf install python3-pip -y
but this installs older version of pip i.e., 9.0.3-13.el8
.
Is there a way i can install latest version of pip using repository package maybe using a custom repo?
Unfortunately, For some dependencies in this complex custom image, i want to ensure that i have the latest version of pip using repository package only. Can someone please suggest a possible way for this?