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/go-lightning
8 FROM python:3.11-buster
11 # Install necessary dependencies
13 RUN apt-get update --fix-missing -qy
15 RUN apt-get install -qy --no-install-recommends wget \
27 RUN pip install --upgrade pip matplotlib numpy pandas scikit-learn scipy
29 RUN wget --progress=dot:giga https://go.dev/dl/go1.22.2.linux-amd64.tar.gz && \
30 tar -C /usr/local -xzf go1.22.2.linux-amd64.tar.gz
32 ENV PATH $PATH:/usr/local/go/bin:/root/go/bin
37 RUN cd /lightning && make && cd / && rm -rf lightning