diff --git a/docker/Dockerfile.clightning b/docker/Dockerfile.clightning index 2d3bc51..a891590 100644 --- a/docker/Dockerfile.clightning +++ b/docker/Dockerfile.clightning @@ -38,7 +38,8 @@ RUN apt-get -qq update && \ wget \ gettext \ xsltproc \ - zlib1g-dev && \ + zlib1g-dev \ + jq && \ rm -rf /var/lib/apt/lists/* ENV LANGUAGE=en_US.UTF-8 @@ -58,10 +59,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 diff --git a/lnprototest/clightning/clightning.py b/lnprototest/clightning/clightning.py index 76744cb..1749bdd 100644 --- a/lnprototest/clightning/clightning.py +++ b/lnprototest/clightning/clightning.py @@ -167,7 +167,7 @@ def start(self, also_bitcoind: bool = True) -> None: "--network=regtest", "--bitcoin-rpcuser=rpcuser", "--bitcoin-rpcpassword=rpcpass", - f"--bitcoin-rpcconnect=localhost:{self.bitcoind.port}", + f"--bitcoin-rpcconnect=127.0.0.1:{self.bitcoind.port}", "--log-level=debug", "--log-file=log", "--htlc-maximum-msat=2000sat",