Skip to content

Commit

Permalink
Merge pull request #120 from rustyrussell/macros/fix-ci
Browse files Browse the repository at this point in the history
ci: fix the docker build
  • Loading branch information
vincenzopalazzo authored Oct 23, 2024
2 parents d72a87b + ea924b8 commit 9a6ed14
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions docker/Dockerfile.clightning
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -58,10 +59,10 @@ RUN pip3 install -U pip && \
RUN git config --global user.name "John Doe" && \
git config --global user.email [email protected] && \
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

Expand Down
2 changes: 1 addition & 1 deletion lnprototest/clightning/clightning.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 9a6ed14

Please sign in to comment.