From 9bc3289a4ab7c5819f5db4865f0fcef0867bf3f3 Mon Sep 17 00:00:00 2001 From: Vincenzo Palazzo Date: Thu, 1 Feb 2024 18:51:47 +0100 Subject: [PATCH] docker: fix the core lightning build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------ > [ 7/11] RUN git config --global user.name "John Doe" && git config --global user.email johndoe@example.com && git clone https://github.com/ElementsProject/lightning.git && cd lightning && poetry config virtualenvs.create false && poetry install && ./configure && make -j$(nproc): 12.23 352│ ) 12.23 353│ except CalledProcessError as e: 12.23 → 354│ raise EnvCommandError(e) 12.23 355│ 12.23 356│ return output 12.23 357│ 12.23 358│ def execute(self, bin: str, *args: str, **kwargs: Any) -> int: 12.23 12.23 Cannot install blinker. 12.23 ------ Dockerfile.clightning:58 -------------------- 57 | 58 | >>> RUN git config --global user.name "John Doe" && \ 59 | >>> git config --global user.email johndoe@example.com && \ 60 | >>> git clone https://github.com/ElementsProject/lightning.git && \ 61 | >>> cd lightning && \ 62 | >>> poetry config virtualenvs.create false && \ 63 | >>> poetry install && \ 64 | >>> ./configure && \ 65 | >>> make -j$(nproc) 66 | -------------------- ERROR: failed to solve: process "/bin/sh -c git config --global user.name \"John Doe\" && \tgit config --global user.email johndoe@example.com && \tgit clone https://github.com/ElementsProject/lightning.git && cd lightning && poetry config virtualenvs.create false && poetry install && ./configure && make -j$(nproc)" did not complete successfully: exit code: 1 Signed-off-by: Vincenzo Palazzo --- docker/Dockerfile.clightning | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docker/Dockerfile.clightning b/docker/Dockerfile.clightning index 374733d..2d3bc51 100644 --- a/docker/Dockerfile.clightning +++ b/docker/Dockerfile.clightning @@ -59,8 +59,7 @@ RUN git config --global user.name "John Doe" && \ git config --global user.email johndoe@example.com && \ git clone https://github.com/ElementsProject/lightning.git && \ cd lightning && \ - poetry config virtualenvs.create false && \ - poetry install && \ + pip3 install mako && \ ./configure && \ make -j$(nproc)