FROM debian:stable
RUN apt update && \
apt install -y build-essential cmake git libcap-dev curl rapidjson-dev
WORKDIR /src/
COPY . /src/
RUN make -j 8 JSONRPC=ON && make install