Fix python installation.
authorTom Clegg <tom@curii.com>
Fri, 3 Nov 2023 18:22:59 +0000 (14:22 -0400)
committerTom Clegg <tom@curii.com>
Fri, 3 Nov 2023 18:22:59 +0000 (14:22 -0400)
Previous recipe installed libraries in /usr via debian packages, plus
python3.7 as a dependency, instead of installing libraries that
/usr/local/bin/python (from the python:3.11-buster base image) can
actually use.

No issue #

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

docker/lightning/Dockerfile

index 319ed497ee2d3a0a4a72b74e56a28e53d07a4f5f..78318d8f08566882d94c6289978d6a22bddae692 100644 (file)
@@ -22,14 +22,9 @@ RUN apt-get install -qy --no-install-recommends wget \
   libncursesw5-dev \
   gcc \
   make \
-  python3-numpy \
-  python3-pandas \
-  python3-scipy \
-  python3-matplotlib \
   git
 
-RUN pip3 install scikit-learn
-RUN pip3 install --upgrade scipy
+RUN pip install --upgrade pip matplotlib numpy pandas scikit-learn scipy
 
 # Installing go 1.19