Skip to content

Commit 178e7d6

Browse files
committed
update pinned commit
1 parent 50cf6ea commit 178e7d6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docker/bitcoin-node.dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ FROM ubuntu:22.04 AS peer-observer-builder
2929

3030
ARG PEER_EXTRACTOR_REPO=https://github.com/0xB10C/peer-observer.git
3131
ARG PEER_EXTRACTOR_BRANCH=master
32-
ARG PEER_EXTRACTOR_COMMIT=87823b767c74e60b23c9a150984c7001d245277b
32+
ARG PEER_EXTRACTOR_COMMIT=4a49347dcc764daabd047c01274afc6c5399bee6
3333

3434
# Install peer-extractor dependencies
3535
RUN apt-get update && apt-get install -y \
@@ -44,12 +44,12 @@ ENV PATH="/root/.cargo/bin:${PATH}"
4444
RUN rustup default stable
4545
RUN rustup component add rustfmt
4646

47-
# Copy repository to the container
47+
# Copy repository to the container and checkout to predefined commit
4848
RUN git clone -b $PEER_EXTRACTOR_BRANCH --single-branch $PEER_EXTRACTOR_REPO /peer-observer
49+
RUN git checkout $PEER_EXTRACTOR_COMMIT
4950

5051
# Set working directory to the repository
5152
WORKDIR /peer-observer
52-
RUN git checkout $PEER_EXTRACTOR_COMMIT
5353

5454
# Copy scripts
5555
COPY docker/set-bpf-environment.sh scripts/set-bpf-environment.sh

0 commit comments

Comments
 (0)