From 78b0739568a862d965440abc9b6d426530e376a2 Mon Sep 17 00:00:00 2001 From: Lucas Faria Date: Thu, 6 Nov 2025 16:54:17 -0300 Subject: [PATCH] pin base repo commit for consistency --- docker/bitcoin-node.dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docker/bitcoin-node.dockerfile b/docker/bitcoin-node.dockerfile index fdd4928..a76af30 100644 --- a/docker/bitcoin-node.dockerfile +++ b/docker/bitcoin-node.dockerfile @@ -29,6 +29,7 @@ FROM ubuntu:22.04 AS peer-observer-builder ARG PEER_EXTRACTOR_REPO=https://github.com/0xB10C/peer-observer.git ARG PEER_EXTRACTOR_BRANCH=master +ARG PEER_EXTRACTOR_COMMIT=4a49347dcc764daabd047c01274afc6c5399bee6 # Install peer-extractor dependencies RUN apt-get update && apt-get install -y \ @@ -46,8 +47,9 @@ RUN rustup component add rustfmt # Copy repository to the container RUN git clone -b $PEER_EXTRACTOR_BRANCH --single-branch $PEER_EXTRACTOR_REPO /peer-observer -# Set working directory to the repository +# Set working directory to the repository and checkout to pinned commit WORKDIR /peer-observer +RUN git checkout $PEER_EXTRACTOR_COMMIT # Copy scripts COPY docker/set-bpf-environment.sh scripts/set-bpf-environment.sh