File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ RUN ( ! [ "${target_host}" = "arm-linux-gnueabihf" ] ) || \
199199# https://github.com/ElementsProject/lightning/pull/7376#issuecomment-2161102381
200200RUN poetry lock --no-update && poetry install
201201
202- RUN ./configure --enable-static && make && poetry run make install
202+ RUN ./configure --prefix=/tmp/lightning_install -- enable-static && make && poetry run make install
203203
204204# Export the requirements for the plugins so we can install them in builder-python stage
205205WORKDIR /opt/lightningd/plugins/clnrest
@@ -273,9 +273,7 @@ RUN mkdir $LIGHTNINGD_DATA && \
273273 touch $LIGHTNINGD_DATA/config
274274VOLUME [ "/root/.lightning" ]
275275
276- COPY --from=builder /usr/local/bin/lightning-cli /usr/local/bin/lightning-hsmtool /usr/local/bin/lightningd /usr/local/bin/reckless /usr/local/bin/
277- COPY --from=builder /usr/local/libexec/ /usr/local/libexec
278- COPY --from=builder /usr/local/share/ /usr/local/share
276+ COPY --from=builder /tmp/lightning_install/ /usr/local/
279277COPY --from=builder-python /usr/local/lib/python3.9/dist-packages/ /usr/local/lib/python3.9/dist-packages/
280278COPY --from=downloader /opt/bitcoin/bin /usr/bin
281279COPY --from=downloader /opt/litecoin/bin /usr/bin
You can’t perform that action at this time.
0 commit comments