Skip to content

Instantly share code, notes, and snippets.

@wilsonianb
Created November 27, 2017 21:07
Show Gist options
  • Save wilsonianb/9d9c95fb67c2f2f4ca0a5f766f667d96 to your computer and use it in GitHub Desktop.
Save wilsonianb/9d9c95fb67c2f2f4ca0a5f766f667d96 to your computer and use it in GitHub Desktop.
build and run rippled in debian stretch docker container
FROM debian:latest
RUN apt-get update
RUN apt-get -y install gcc software-properties-common scons pkg-config libprotobuf-dev libssl-dev libboost-all-dev protobuf-compiler cmake
RUN apt-get -y install git
RUN cd /opt && git clone --depth 1 https://github.com/ripple/rippled.git
RUN apt-get -y install g++
RUN cd /opt/rippled && scons -j 2 --static
CMD cp /opt/rippled/doc/rippled-example.cfg /opt/rippled/rippled.cfg && cp /opt/rippled/doc/validators-example.txt /opt/rippled/validators.txt && /opt/rippled/build/rippled --conf /opt/rippled/rippled.cfg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment