mirror of
https://github.com/RoboSats/robosats.git
synced 2024-12-13 10:56:24 +00:00
62e6258f0f
* update cln holdinvoice plugin
DecodeBolt11 was removed in:
d51fd03390
* update CLN to v24.05 and holdinvoice to v3.0.0
* reactivate CLN integration tests
---------
Co-authored-by: jerryfletcher21 <jerryfletcher@cock.email>
33 lines
991 B
Docker
33 lines
991 B
Docker
FROM debian:bullseye-slim as builder
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
|
|
|
ARG LIGHTNINGD_VERSION=v24.05
|
|
RUN apt-get update -qq && \
|
|
apt-get install -qq -y --no-install-recommends \
|
|
autoconf \
|
|
automake \
|
|
build-essential \
|
|
ca-certificates \
|
|
curl \
|
|
git \
|
|
protobuf-compiler
|
|
|
|
ENV RUST_PROFILE=release
|
|
ENV PATH=$PATH:/root/.cargo/bin/
|
|
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
|
RUN rustup toolchain install stable --component rustfmt --allow-downgrade
|
|
|
|
WORKDIR /opt/lightningd
|
|
RUN git clone https://github.com/daywalker90/holdinvoice.git /tmp/holdinvoice
|
|
RUN cd /tmp/holdinvoice \
|
|
&& cargo build --release
|
|
|
|
FROM elementsproject/lightningd:v24.05 as final
|
|
|
|
COPY --from=builder /tmp/holdinvoice/target/release/holdinvoice /tmp/holdinvoice
|
|
COPY config /tmp/config
|
|
COPY entrypoint.sh entrypoint.sh
|
|
RUN chmod +x entrypoint.sh
|
|
|
|
EXPOSE 9735 9835
|
|
ENTRYPOINT [ "/usr/bin/tini", "-g", "--", "./entrypoint.sh" ] |