electrs dockerfile
All checks were successful
Build Docker Image / build (push) Successful in 2m40s

This commit is contained in:
2025-12-02 22:35:26 -06:00
parent 3db532de6f
commit cf8ccf1137
4 changed files with 19 additions and 4 deletions

View File

@@ -1 +1,11 @@
FROM debian:bookworm as base
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