Python Version update 04/10304/5
authorfonsecaj <jpedrofonseca@av.it.pt>
Fri, 12 Feb 2021 16:15:00 +0000 (17:15 +0100)
committerbeierlm <mark.beierl@canonical.com>
Thu, 25 Feb 2021 16:39:22 +0000 (17:39 +0100)
Change-Id: I4d3f97fadba047586949c1bdf4e15c1e7043b3f0
Author: João Fonseca <jpedrofonseca@av.it.pt>
Committer: João Fonseca <jpedrofonseca@av.it.pt>
Signed-off-by: João Fonseca <jpedrofonseca@av.it.pt>
docker/MON/Dockerfile

index 8825295..eefb5fb 100644 (file)
@@ -34,9 +34,10 @@ RUN apt-get update \
                           libffi-dev \
     && apt-get clean \
     && rm -rf /var/lib/apt/lists/* \
-    && python3 -m pip install -U pip
+    && python3 -m pip install --upgrade pip
+RUN python3 --version && pip --version
 
-RUN pip3 install 'pyyaml>=5.1.2' 'paramiko' 'chardet==3.0.4' \
+RUN python3 -m pip install 'pyyaml>=5.1.2' 'paramiko' 'chardet==3.0.4' \
           'lxml==4.6.2' 'humanfriendly==9.0.*' 'aiokafka>=0.7.0' \
           'prometheus_client==0.4.*' 'python-keystoneclient==3.15.*' \
           'six==1.15.0' 'requests==2.25.*' 'gnocchiclient==7.0.*' \