Skip to content

Commit

Permalink
chore: update CLN Docker image to v24.02.1
Browse files Browse the repository at this point in the history
  • Loading branch information
michael1011 committed Mar 16, 2024
1 parent 7853162 commit 4d6e240
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 9 deletions.
4 changes: 2 additions & 2 deletions docker/build.py
Expand Up @@ -45,7 +45,7 @@ class Image:
ELEMENTS_VERSION = "23.2.1"
GETH_VERSION = "1.13.14"

C_LIGHTNING_VERSION = "24.02"
C_LIGHTNING_VERSION = "24.02.1"
ECLAIR_VERSION = "0.10.0"
LND_VERSION = "0.17.4-beta"

Expand Down Expand Up @@ -101,7 +101,7 @@ class Image:
],
),
"regtest": Image(
tag="4.4.2",
tag="4.4.3",
arguments=[
UBUNTU_VERSION,
BITCOIN_BUILD_ARG,
Expand Down
8 changes: 5 additions & 3 deletions docker/c-lightning/Dockerfile
Expand Up @@ -46,13 +46,15 @@ RUN strip --strip-all /usr/local/bin/lightning-cli
# Start again with a new image to reduce the size
FROM ubuntu:${UBUNTU_VERSION}

RUN apt-get update && apt-get -y upgrade
RUN apt-get -y install \
RUN apt-get update && \
apt-get -y upgrade && \
apt-get -y install \
python3 \
sqlite3 \
libsodium23 \
libevent-dev \
python-is-python3
python-is-python3 && \
rm -rf /var/lib/apt/lists/*

# Copy binaries
COPY --from=builder /usr/local/bin/lightningd /bin/
Expand Down
8 changes: 5 additions & 3 deletions docker/regtest/Dockerfile
Expand Up @@ -15,8 +15,9 @@ FROM boltz/c-lightning:${C_LIGHTNING_VERSION} as cln
FROM ubuntu:${UBUNTU_VERSION}

# Install dependencies
RUN apt-get update && apt-get -y upgrade
RUN apt-get -y install \
RUN apt-get update && \
apt-get -y upgrade && \
apt-get -y install \
jq \
curl \
psmisc \
Expand All @@ -33,7 +34,8 @@ RUN apt-get -y install \
libboost-system-dev \
libboost-thread-dev \
libboost-filesystem-dev \
libboost-program-options-dev
libboost-program-options-dev && \
rm -rf /var/lib/apt/lists/*

RUN curl -sSL https://install.python-poetry.org | python3 -

Expand Down
2 changes: 1 addition & 1 deletion docker/regtest/startRegtest.sh
Expand Up @@ -9,7 +9,7 @@ docker run \
--volume "${PWD}"/docker/regtest/data/cln/mpay:/root/.lightning/regtest/mpay \
--volume "${PWD}"/tools:/tools \
--network host \
boltz/regtest:4.4.2
boltz/regtest:4.4.3

docker exec regtest bash -c "cp /root/.lightning/regtest/*.pem /root/.lightning/regtest/certs"
docker exec regtest chmod -R 777 /root/.lightning/regtest/certs

0 comments on commit 4d6e240

Please sign in to comment.