diff --git a/lightningd/Dockerfile b/lightningd/Dockerfile index 4f61e52..139d1d8 100644 --- a/lightningd/Dockerfile +++ b/lightningd/Dockerfile @@ -27,8 +27,10 @@ RUN apk update && \ zlib-dev \ zlib-static -RUN git clone -b 2023-08-remote-hsmd-v23.08 --recursive https://github.com/lightning-signer/c-lightning.git /repo --recursive && \ +ARG GIT_HASH=bd9494c65be09e6f8ecb3bc49b50a859467a65fe +RUN git clone --recursive https://github.com/lightning-signer/c-lightning.git /repo && \ cd /repo && \ + git checkout $GIT_HASH && \ ./configure --enable-static --prefix=/usr && \ make -j $(nproc) && \ make install @@ -42,8 +44,10 @@ RUN apk add \ pkgconf \ sqlite-dev +ARG GIT_HASH=4f37007f00f1cf41e2ead031ddc4a34ef8dbd9e5 RUN git clone --recurse-submodules https://github.com/ZmnSCPxj/clboss.git /clboss && \ cd /clboss && \ + git checkout $GIT_HASH && \ autoreconf -i && \ ./configure --prefix=/usr && \ make -j $(nproc) && \ diff --git a/txood/Dockerfile b/txood/Dockerfile index eb4c63d..777b817 100644 --- a/txood/Dockerfile +++ b/txood/Dockerfile @@ -10,8 +10,10 @@ RUN apk update && \ RUN apk add cargo +ARG GIT_HASH=528fa92e5def1b6cc19127f2242137bf6f13550d RUN git clone --recurse-submodules https://gitlab.com/lightning-signer/txoo.git && \ cd txoo && \ + git checkout $GIT_HASH && \ cargo build --release -p txood # txoo runner @@ -35,4 +37,4 @@ RUN chmod +x /entrypoint.sh VOLUME ["/root/.txoo/"] ENTRYPOINT ["/entrypoint.sh"] -CMD ["txood"] \ No newline at end of file +CMD ["txood"]