From 221923a30606d3eb18324d1fe86b4d04a131f749 Mon Sep 17 00:00:00 2001 From: Marco Carlo Feliciano <52707252+Shotokhan@users.noreply.github.com> Date: Sun, 1 May 2022 13:36:45 +0200 Subject: [PATCH] Update Dockerfile python version in Dockerfile is 2.7, so "pip install --upgrade pip" will fail because last version of pip is not compatible with python2 (see https://pypi.org/project/pip/); so an older version of pip must be used, like 20.3 --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b49406b7..d9987604 100644 --- a/Dockerfile +++ b/Dockerfile @@ -35,7 +35,8 @@ RUN apt-get install -y build-essential zlib1g-dev pkg-config \ git curl vim #upgrade pip -RUN pip install --upgrade pip +# RUN pip install --upgrade pip +RUN python -m pip install pip==20.3 #clone pybox RUN git clone https://github.com/Cisco-Talos/pyrebox pyrebox