Fix CLN container build on ARM (#2486)
* Remove unnecessary CLNRest plugin dependencies install * Fix comments in CLN docker image
This commit is contained in:
parent
9870fa5994
commit
c1d51272ed
@ -1,16 +1,5 @@
|
|||||||
FROM polarlightning/clightning:24.11
|
FROM polarlightning/clightning:24.11
|
||||||
|
|
||||||
RUN apt-get update -y \
|
# make sure that wallet and identity is persisted across rebuilds
|
||||||
&& apt-get install -y jq wget \
|
# https://docs.corelightning.org/docs/grpc#generating-custom-certificates-optional
|
||||||
&& apt-get clean \
|
|
||||||
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
|
||||||
|
|
||||||
RUN wget https://raw.githubusercontent.com/ElementsProject/lightning/v23.08/plugins/clnrest/requirements.txt \
|
|
||||||
&& pip install -r requirements.txt
|
|
||||||
|
|
||||||
# make sure that wallet and identity is persisted across rebuilds.
|
|
||||||
# server certificates contain stacker_lnd as a custom domain.
|
|
||||||
# see https://docs.corelightning.org/docs/grpc#generating-custom-certificates-optional
|
|
||||||
# since CLNRest in CLNv23.08 seems to use client certificates, they also contain stacker_lnd as a custom domain.
|
|
||||||
# see https://github.com/ElementsProject/lightning/tree/v23.08/plugins/clnrest#configuration
|
|
||||||
COPY ["./hsm_secret", "./ca-key.pem", "./ca.pem", "./server-key.pem", "./server.pem", "./client-key.pem", "./client.pem", "/home/clightning/.lightning/regtest/"]
|
COPY ["./hsm_secret", "./ca-key.pem", "./ca.pem", "./server-key.pem", "./server.pem", "./client-key.pem", "./client.pem", "/home/clightning/.lightning/regtest/"]
|
Loading…
x
Reference in New Issue
Block a user