Created
December 14, 2017 00:48
-
-
Save wilsonianb/8369a11bbf799cd79e6e65dc5f1bdf21 to your computer and use it in GitHub Desktop.
build rippled in Ubuntu Docker image
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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