Skip to content

Instantly share code, notes, and snippets.

@wilsonianb
Created December 14, 2017 00:48
Show Gist options
  • Save wilsonianb/8369a11bbf799cd79e6e65dc5f1bdf21 to your computer and use it in GitHub Desktop.
Save wilsonianb/8369a11bbf799cd79e6e65dc5f1bdf21 to your computer and use it in GitHub Desktop.
build rippled in Ubuntu Docker image
FROM ubuntu:latest
RUN apt-get clean
RUN apt-get update --fix-missing
RUN apt-get -y install gcc python-software-properties pkg-config libprotobuf-dev libssl-dev libboost-all-dev protobuf-compiler cmake
CMD cd /opt/rippled && mkdir -p build/gcc.release && cd build/gcc.release && cmake ../.. -Dtarget=gcc.release -Dstatic=true -DCMAKE_VERBOSE_MAKEFILE=ON && cmake --build . -- -j4
# Build the Docker image once:
# docker build -t rippled-docker-local .
# Build rippled by mounting your local directory:
# docker run --rm -v /path/to/rippled:/opt/rippled rippled-docker-local
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment