From 5002b0bb299087b4b9d55e5f7e665d7a24cd9f2c Mon Sep 17 00:00:00 2001 From: Lakshya Singh Date: Wed, 13 Mar 2024 22:07:58 +0530 Subject: [PATCH] cln: v24 fixes new dep and summary plugin - dir is left dirty if we use make so instead using just make install - summary plugin is archived - new dep for cln grpcio tools Signed-off-by: Lakshya Singh --- lightningd/Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lightningd/Dockerfile b/lightningd/Dockerfile index fb3b26f..fee2ef5 100644 --- a/lightningd/Dockerfile +++ b/lightningd/Dockerfile @@ -20,6 +20,7 @@ RUN apk update && \ net-tools \ postgresql-dev \ py3-mako \ + py3-pip \ python3 \ python3-dev \ sqlite-dev \ @@ -27,13 +28,14 @@ RUN apk update && \ zlib-dev \ zlib-static +RUN pip3 install grpcio-tools + ARG CORE_LIGHTNING_GIT_HASH \ CORE_LIGHTNING_REPO RUN git clone --recursive $CORE_LIGHTNING_REPO core-lightning RUN cd core-lightning && \ git checkout $CORE_LIGHTNING_GIT_HASH && \ ./configure --enable-static --prefix=/usr && \ - make -j $(nproc) && \ make -j $(nproc) install && \ make clean @@ -128,7 +130,7 @@ COPY --from=builder /usr/libexec/c-lightning /usr/libexec/c-lightning COPY --from=builder /usr/share/man/man8 /usr/share/man/man8 COPY --from=builder /usr/share/doc/c-lightning /usr/share/doc/c-lightning COPY --from=clboss_builder /usr/bin/clboss /usr/bin/clboss -COPY --from=builder /build/plugins/summary /usr/local/src/plugins/summary +COPY --from=builder /build/plugins/archived/summary /usr/local/src/plugins/summary COPY --from=vls_builder /usr/local/bin/remote_hsmd_socket /usr/libexec/c-lightning/remote_hsmd_socket RUN addgroup -S lightning && adduser -S lightning -G lightning && \