Skip to content

Commit c8a0b75

Browse files
ci: fix the docker build
Signed-off-by: Vincenzo Palazzo <[email protected]>
1 parent 9bc3289 commit c8a0b75

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

docker/Dockerfile.clightning

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ RUN apt-get -qq update && \
3838
wget \
3939
gettext \
4040
xsltproc \
41-
zlib1g-dev && \
41+
zlib1g-dev \
42+
jq && \
4243
rm -rf /var/lib/apt/lists/*
4344

4445
ENV LANGUAGE=en_US.UTF-8
@@ -58,10 +59,10 @@ RUN pip3 install -U pip && \
5859
RUN git config --global user.name "John Doe" && \
5960
git config --global user.email [email protected] && \
6061
git clone https://github.com/ElementsProject/lightning.git && \
61-
cd lightning && \
62-
pip3 install mako && \
63-
./configure && \
64-
make -j$(nproc)
62+
cd lightning && \
63+
pip3 install mako --break-system-packages && pip3 install grpcio-tools --break-system-packages && \
64+
./configure && \
65+
make -j$(nproc)
6566

6667
RUN mkdir lnprototest
6768

lnprototest/clightning/clightning.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def start(self, also_bitcoind: bool = True) -> None:
167167
"--network=regtest",
168168
"--bitcoin-rpcuser=rpcuser",
169169
"--bitcoin-rpcpassword=rpcpass",
170-
f"--bitcoin-rpcconnect=localhost:{self.bitcoind.port}",
170+
f"--bitcoin-rpcconnect=127.0.0.1:{self.bitcoind.port}",
171171
"--log-level=debug",
172172
"--log-file=log",
173173
"--htlc-maximum-msat=2000sat",

0 commit comments

Comments
 (0)