Limit pip for nagios xenial image

Starting pip 21 python2 is not supported.

Change-Id: I15df1b940c80d756685e58341f5a40c94db1a4a6
Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
This commit is contained in:
Andrii Ostapenko
2021-02-03 16:23:38 -06:00
parent 218d0f86e7
commit 6f41c6ee84

View File

@@ -18,7 +18,7 @@ RUN apt-get -o Acquire::ForceIPv4=true -y update \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN pip --no-cache-dir install --upgrade pip \
RUN pip --no-cache-dir install --upgrade "pip<21" \
&& hash -r \
&& pip --no-cache-dir install --upgrade setuptools \
&& pip --no-cache-dir install --upgrade kubernetes \