20461: Updating resource requirements
[lightning.git] / docker / lightning / Dockerfile
index 061d9d45a7a09f8bd3b7f87c28bd75f30ff6063b..d11a30b43d827e53c31d0203fc379ae42d688c0c 100644 (file)
@@ -5,9 +5,7 @@
 # build instruction:
 # docker build -t dockername --file=/path/to/lightning/docker/lightning/Dockerfile /path/to/lightning
 
-FROM ubuntu:latest
-MAINTAINER Jiayong Li <jli@curii.com>s
-USER root
+FROM python:3.11-buster
 ARG DEBIAN_FRONTEND=noninteractive
 
 # Install necessary dependencies
@@ -24,7 +22,6 @@ RUN apt-get install -qy --no-install-recommends wget \
   libncursesw5-dev \
   gcc \
   make \
-  python3.8 \
   python3-pip \
   python3-numpy \
   python3-pandas \
@@ -34,6 +31,7 @@ RUN apt-get install -qy --no-install-recommends wget \
 
 RUN pip3 install sklearn
 RUN pip3 install --upgrade scipy
+RUN pip3 install matplotlib
 
 # Installing go 1.19