Fix Docker Python2 pip installation
@@ -4,12 +4,14 @@ FROM rootproject/root-ubuntu
USER root
RUN apt-get update && apt-get install -y \
- python
- python-tk
- python-pip
- python3-tk
+ python-dev \
+ python-tk \
+ python3-tk \
python3-pip
+# Python2 pip is not longer shiped with Ubuntu (20.04+)
+RUN curl "https://bootstrap.pypa.io/get-pip.py" --output get-pip.py && \
+ python get-pip.py
RUN pip install --upgrade --no-cache-dir pip && \
pip install --upgrade --no-cache-dir madminer
