1 # Copyright (C) The Lightning Authors. All rights reserved.
3 # SPDX-License-Identifier: AGPL-3.0
6 # docker build -t dockername --file=/path/to/lightning/docker/lightning/Dockerfile /path/to/lightning
9 MAINTAINER Jiayong Li <jli@curii.com>s
11 ARG DEBIAN_FRONTEND=noninteractive
13 # Install necessary dependencies
15 RUN apt-get update --fix-missing -qy
17 RUN apt-get install -qy --no-install-recommends wget \
35 RUN pip3 install sklearn
36 RUN pip3 install --upgrade scipy
40 RUN wget https://go.dev/dl/go1.19.3.linux-amd64.tar.gz && \
41 tar -C /usr/local -xzf go1.19.3.linux-amd64.tar.gz
43 ENV PATH $PATH:/usr/local/go/bin:/root/go/bin
48 RUN cd /lightning && make && cd / && rm -rf lightning