You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
354 B
20 lines
354 B
4 years ago
|
FROM debian:buster-slim
|
||
|
|
||
|
WORKDIR /build
|
||
|
|
||
|
RUN apt-get update
|
||
|
|
||
|
# Buildtime dependencies
|
||
|
RUN apt-get install -y cargo clang cmake libsnappy-dev
|
||
|
|
||
|
# Clone source
|
||
|
RUN apt-get install -y git
|
||
|
RUN git clone --branch next https://github.com/romanz/electrs .
|
||
|
|
||
|
# Build
|
||
|
RUN cargo build --release
|
||
|
|
||
|
STOPSIGNAL SIGINT
|
||
|
|
||
|
ENTRYPOINT ["/build/target/release/electrs_query"]
|