After adding these lines to Docker file of base image the issue was resolved:
RUN yum -y install \ python-pip \ && yum clean all
RUN pip install -U pip
RUN pip install -U setuptools
After adding these lines to Docker file of base image the issue was resolved:
RUN yum -y install \
python-pip \
&& yum clean all
RUN pip install -U pip
RUN pip install -U setuptools