Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dockerfile added #374

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions Builds/Docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# rippled

# use the ubuntu base image
FROM ubuntu
MAINTAINER Roberto Catini roberto.catini@gmail.com

# make sure the package repository is up to date
RUN apt-get update
RUN apt-get -y upgrade

# install the dependencies
RUN apt-get -y install git scons pkg-config protobuf-compiler libprotobuf-dev libssl-dev libboost1.55-all-dev

# download source code from official repository
RUN git clone https://github.com/ripple/rippled.git src; cd src/; git checkout master

# compile
RUN cd src/; scons build/rippled

# move to root directory and strip
RUN cp src/build/rippled rippled; strip rippled

# copy default config
RUN cp src/doc/rippled-example.cfg rippled.cfg

# clean source
RUN rm -r src

# launch rippled when launching the container
ENTRYPOINT ./rippled