Public Repository

Last pushed: 6 months ago
Short Description
Short description is empty for this repo.
Full Description

FROM ubuntu:16.10

RUN apt-get -y update
RUN apt-get -y install yum-utils alien

Install essentials

RUN \
sed -i 's/# (.multiverse$)/\1/g' /etc/apt/sources.list && \
apt-get update && \
apt-get -y upgrade && \
apt-get install -y build-essential && \
apt-get install -y software-properties-common && \
apt-get install -y byobu curl git htop man unzip vim wget iptables && \
rm -rf /var/lib/apt/lists/

#Install Supervisor
RUN apt-get update && apt-get install -y openssh-server apache2 supervisor
RUN mkdir -p /var/lock/apache2 /var/run/apache2 /var/run/sshd /var/log/supervisor

#Install Rippled (alien is installed on top)
RUN rpm -Uvh https://mirrors.ripple.com/ripple-repo-el7.rpm
RUN yumdownloader --enablerepo=ripple-stable --releasever=el7 rippled
RUN rpm --import https://mirrors.ripple.com/rpm/RPM-GPG-KEY-ripple-release && rpm -K rippled.rpm
RUN alien -i --scripts rippled
.rpm && rm rippled*.rpm

Add files.

#ADD root/.bashrc /root/.bashrc

#ADD root/.gitconfig /root/.gitconfig

#ADD root/.scripts /root/.scripts

Set environment variables.

ENV HOME /root

Define working directory.

WORKDIR /root

COPY rippled.cfg /opt/ripple/etc/
COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf

EXPOSE 5006

Define default command.

ENTRYPOINT /opt/ripple/bin/rippled --conf=/opt/ripple/etc/rippled.cfg --start -a

#CMD ["supervisord -c /etc/supervisor/conf.d/supervisord.conf"]

#CMD ["bash/bin"]

Docker Pull Command
Owner
inmyth

Comments (0)