File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ FROM ubuntu:22.04 AS peer-observer-builder
2929
3030ARG PEER_EXTRACTOR_REPO=https://github.com/0xB10C/peer-observer.git
3131ARG PEER_EXTRACTOR_BRANCH=master
32- ARG PEER_EXTRACTOR_COMMIT=87823b767c74e60b23c9a150984c7001d245277b
32+ ARG PEER_EXTRACTOR_COMMIT=4a49347dcc764daabd047c01274afc6c5399bee6
3333
3434# Install peer-extractor dependencies
3535RUN apt-get update && apt-get install -y \
@@ -44,12 +44,12 @@ ENV PATH="/root/.cargo/bin:${PATH}"
4444RUN rustup default stable
4545RUN rustup component add rustfmt
4646
47- # Copy repository to the container
47+ # Copy repository to the container and checkout to predefined commit
4848RUN 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
5152WORKDIR /peer-observer
52- RUN git checkout $PEER_EXTRACTOR_COMMIT
5353
5454# Copy scripts
5555COPY docker/set-bpf-environment.sh scripts/set-bpf-environment.sh
You can’t perform that action at this time.
0 commit comments