-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
17 lines (16 loc) · 914 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM elementsproject/lightningd:latest
RUN set -ex \
&& apt-get update \
&& apt-get install -qq --no-install-recommends ca-certificates dirmngr wget libsecp256k1-dev libuv1-dev
RUN mkdir -p /opt/lightningd/plugins/ && \
cd /opt/lightningd/plugins && \
wget https://github.com/nbd-wtf/trustedcoin/releases/download/v0.6.1/trustedcoin-v0.6.1-linux-amd64.tar.gz && \
wget https://github.com/fiatjaf/sparko/releases/download/v2.8/sparko_linux_amd64 && \
wget https://github.com/fiatjaf/poncho/releases/download/v0.2.1/poncho_x64 && \
wget https://gist.githubusercontent.com/kiwiidb/ee126e23f74e146fa06cbc2ea6892a57/raw/53d4ef969de77b3b3421cd7ac7029379255610f1/hodl-invoice.py && \
pip install pylightning && \
tar zxvf trustedcoin-v0.6.1-linux-amd64.tar.gz && \
chmod +x trustedcoin && \
chmod +x poncho_x64 && \
chmod +x hodl-invoice.py && \
chmod +x sparko_linux_amd64