File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4747
4848echo " Starting ebpf-extractor"
4949# Run ebpf-extractor as root (needs CAP_SYS_ADMIN for BPF)
50- exec /usr/local/bin/ebpf-extractor --nats-address nats://nats:4222 --bitcoind-path $BTC_BIN_PATH /bitcoind
50+ exec /usr/local/bin/ebpf-extractor --no-idle-exit -- nats-address nats://nats:4222 --bitcoind-path $BTC_BIN_PATH /bitcoind
Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ FROM ubuntu:22.04 AS builder
33
44ENV DEBIAN_FRONTEND=noninteractive
55ARG BTC_CORE_TAG=v29.0
6+ ARG PEER_EXTRACTOR_REPO=https://github.com/0xB10C/peer-observer.git
7+ ARG PEER_EXTRACTOR_BRANCH=master
68
79# Install build dependencies
810RUN apt-get update && apt-get install -y \
@@ -36,7 +38,7 @@ RUN rustup default stable
3638RUN rustup component add rustfmt
3739
3840# Copy the local repository to the container
39- RUN git clone https://github.com/0xB10C/peer-observer.git /peer-observer
41+ RUN git clone -b $PEER_EXTRACTOR_BRANCH --single-branch $PEER_EXTRACTOR_REPO /peer-observer
4042
4143# Set working directory to the repository
4244WORKDIR /peer-observer
You can’t perform that action at this time.
0 commit comments