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 <lakshay.singh1108@gmail.com>
This commit is contained in:
parent
8702d3cc1a
commit
5002b0bb29
@ -20,6 +20,7 @@ RUN apk update && \
|
|||||||
net-tools \
|
net-tools \
|
||||||
postgresql-dev \
|
postgresql-dev \
|
||||||
py3-mako \
|
py3-mako \
|
||||||
|
py3-pip \
|
||||||
python3 \
|
python3 \
|
||||||
python3-dev \
|
python3-dev \
|
||||||
sqlite-dev \
|
sqlite-dev \
|
||||||
@ -27,13 +28,14 @@ RUN apk update && \
|
|||||||
zlib-dev \
|
zlib-dev \
|
||||||
zlib-static
|
zlib-static
|
||||||
|
|
||||||
|
RUN pip3 install grpcio-tools
|
||||||
|
|
||||||
ARG CORE_LIGHTNING_GIT_HASH \
|
ARG CORE_LIGHTNING_GIT_HASH \
|
||||||
CORE_LIGHTNING_REPO
|
CORE_LIGHTNING_REPO
|
||||||
RUN git clone --recursive $CORE_LIGHTNING_REPO core-lightning
|
RUN git clone --recursive $CORE_LIGHTNING_REPO core-lightning
|
||||||
RUN cd core-lightning && \
|
RUN cd core-lightning && \
|
||||||
git checkout $CORE_LIGHTNING_GIT_HASH && \
|
git checkout $CORE_LIGHTNING_GIT_HASH && \
|
||||||
./configure --enable-static --prefix=/usr && \
|
./configure --enable-static --prefix=/usr && \
|
||||||
make -j $(nproc) && \
|
|
||||||
make -j $(nproc) install && \
|
make -j $(nproc) install && \
|
||||||
make clean
|
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/man/man8 /usr/share/man/man8
|
||||||
COPY --from=builder /usr/share/doc/c-lightning /usr/share/doc/c-lightning
|
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=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
|
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 && \
|
RUN addgroup -S lightning && adduser -S lightning -G lightning && \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user