Skip to content

Instantly share code, notes, and snippets.

@Retropex
Created November 9, 2023 14:10
Show Gist options
  • Save Retropex/c49394f79413549387504c060c840880 to your computer and use it in GitHub Desktop.
Save Retropex/c49394f79413549387504c060c840880 to your computer and use it in GitHub Desktop.
Statoshi docker
FROM debian:latest
RUN apt update
RUN apt-get install -y build-essential libtool autotools-dev automake pkg-config bsdmainutils python3 && apt-get install -y libevent-dev libboost-dev && apt install -y libsqlite3-dev && apt install -y libminiupnpc-dev libnatpmp-dev && apt-get install -y libzmq3-dev && apt install -y systemtap-sdt-dev && apt install -y git
RUN git clone https://github.com/Retropex/Bitcoin.git
RUN ls
WORKDIR Bitcoin
RUN git checkout custom-node
RUN ./autogen.sh
RUN ./configure --with-gui=no --disable-tests
RUN make -j $(nproc --all)
RUN mkdir -p "$DIR/.bitcoin/"
VOLUME $DIR/.bitcoin/
CMD ./src/bitcoind
EXPOSE 8333
EXPOSE 8332
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment