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:
@@ -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 \
|
||||
|
Reference in New Issue
Block a user