This commit is contained in:
goldsquid
2025-09-13 20:36:09 +07:00
parent 94e9659685
commit 3be1ddb0aa

View File

@@ -260,6 +260,11 @@ RUN --mount=type=cache,target=/usr/local/cargo/registry \
echo "Building base-reth-node with flashbots feature" && \ echo "Building base-reth-node with flashbots feature" && \
cargo build --bin base-reth-node --release && \ cargo build --bin base-reth-node --release && \
cp target/release/base-reth-node /usr/local/bin/base-reth-node; \ cp target/release/base-reth-node /usr/local/bin/base-reth-node; \
elif [ "$BUILD_BSC_RETH" = "true" ]; then \
echo "Building bsc-reth-node with flashbots feature" && \
cargo build --profile $PROFILE --locked --bin bsc-reth --features jemalloc,asm-keccak && \
cp target/$PROFILE/bsc-reth /usr/local/bin/reth; \
else \ else \
echo "Building standard reth" && \ echo "Building standard reth" && \
cargo build --profile $PROFILE --locked --bin reth --features jemalloc,asm-keccak && \ cargo build --profile $PROFILE --locked --bin reth --features jemalloc,asm-keccak && \