projects
/
lightning.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
20461: Updating resource requirements
[lightning.git]
/
docker
/
lightning
/
Dockerfile
diff --git
a/docker/lightning/Dockerfile
b/docker/lightning/Dockerfile
index d92060264ff974461f2d4b7acc9f65f51145dc44..d11a30b43d827e53c31d0203fc379ae42d688c0c 100644
(file)
--- a/
docker/lightning/Dockerfile
+++ b/
docker/lightning/Dockerfile
@@
-2,9
+2,10
@@
#
# SPDX-License-Identifier: AGPL-3.0
#
# SPDX-License-Identifier: AGPL-3.0
-FROM ubuntu:latest
-MAINTAINER Jiayong Li <jli@curii.com>
-USER root
+# build instruction:
+# docker build -t dockername --file=/path/to/lightning/docker/lightning/Dockerfile /path/to/lightning
+
+FROM python:3.11-buster
ARG DEBIAN_FRONTEND=noninteractive
# Install necessary dependencies
ARG DEBIAN_FRONTEND=noninteractive
# Install necessary dependencies
@@
-21,7
+22,6
@@
RUN apt-get install -qy --no-install-recommends wget \
libncursesw5-dev \
gcc \
make \
libncursesw5-dev \
gcc \
make \
- python3.8 \
python3-pip \
python3-numpy \
python3-pandas \
python3-pip \
python3-numpy \
python3-pandas \
@@
-31,6
+31,7
@@
RUN apt-get install -qy --no-install-recommends wget \
RUN pip3 install sklearn
RUN pip3 install --upgrade scipy
RUN pip3 install sklearn
RUN pip3 install --upgrade scipy
+RUN pip3 install matplotlib
# Installing go 1.19
# Installing go 1.19
@@
-41,7
+42,5
@@
ENV PATH $PATH:/usr/local/go/bin:/root/go/bin
# Getting lightning
# Getting lightning
-RUN git clone https://github.com/arvados/lightning && \
- cd lightning && make
-
-WORKDIR /
+COPY . /lightning
+RUN cd /lightning && make && cd / && rm -rf lightning