FROM debian:bookworm RUN apt-get update && apt-get install git cargo build-essential libclang-dev=9.10.0-1 WORKDIR /build # Build RUN git clone https://github.com/romanz/electrs . RUN ROCKSDB_INCLUDE_DIR=/usr/include ROCKSDB_LIB_DIR=/usr/lib cargo build --locked --release