From 43197142ee437cf2c60d6790d8586b743e3637d0 Mon Sep 17 00:00:00 2001 From: Vincenzo Palazzo Date: Sun, 15 Sep 2024 21:37:58 +0200 Subject: [PATCH] ci: fix the docker build Signed-off-by: Vincenzo Palazzo --- .github/workflows/testing.yml | 6 +++--- docker/Dockerfile.clightning | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 90d5c20..5c8aa6b 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -15,10 +15,10 @@ jobs: fail-fast: false matrix: include: - - { LN_IMPL: clightning } + - LN_IMPL: clightning steps: - uses: actions/checkout@v2 - name: Integration testing run: | - docker build -f docker/Dockerfile.${{matrix.LN_IMPL}} -t lnprototest-${{matrix.LN_IMPL}} . - docker run lnprototest-${{matrix.LN_IMPL}} + docker build -f docker/Dockerfile.${{ matrix.LN_IMPL }} -t lnprototest-${{ matrix.LN_IMPL }} . + docker run lnprototest-${{ matrix.LN_IMPL }} diff --git a/docker/Dockerfile.clightning b/docker/Dockerfile.clightning index 2d3bc51..5ba693d 100644 --- a/docker/Dockerfile.clightning +++ b/docker/Dockerfile.clightning @@ -58,10 +58,10 @@ RUN pip3 install -U pip && \ 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 && \ - pip3 install mako && \ - ./configure && \ - make -j$(nproc) + cd lightning && \ + pip3 install mako --break-system-packages && pip3 install grpcio-tools --break-system-packages && \ + ./configure && \ + make -j$(nproc) RUN mkdir lnprototest