Created
October 9, 2017 20:02
-
-
Save RdeWilde/7575269353cc4151dfede73a7d990a15 to your computer and use it in GitHub Desktop.
Latest ionomy IOND on Ubuntu 16.04
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:16.04 | |
ENV IOND_USERNAME ionrpc | |
ENV IOND_PASSWORD 34i29j9329j2320SJSndjasJfKFJdksjfjijfi32jifd | |
ENV IOND_ALLOWIP * | |
ENV IOND_ARGS -daemon=1 | |
RUN apt update | |
RUN apt upgrade -y | |
RUN apt install make autoconf automake g++ git software-properties-common bsdmainutils libboost-all-dev libleveldb-dev pkg-config libssl-dev libcrypto++-dev libevent-dev libminiupnpc-dev libgmp-dev python python-pip -y # libdb++-dev | |
RUN add-apt-repository ppa:silknetwork/silknetwork -y | |
RUN apt-get update | |
RUN apt-get install libdb4.8-dev libdb4.8++-dev -y | |
RUN git clone https://github.com/ionomy/ion.git | |
RUN cd ion; ./autogen.sh; ./configure; make; make install # --disable-wallet for configure once implemented | |
RUN mkdir ~/.ioncoin/ -p | |
RUN touch ~/.ioncoin/ioncoin.conf | |
#RUN echo "daemon=1" >> ~/.ioncoin/ioncoin.conf | |
RUN echo "server=1" >> ~/.ioncoin/ioncoin.conf | |
RUN echo "listen=1" >> ~/.ioncoin/ioncoin.conf | |
RUN echo "txindex=1" >> ~/.ioncoin/ioncoin.conf | |
RUN mkdir ~/.ioncoin/testnet/ | |
RUN cp ~/.ioncoin/ioncoin.conf ~/.ioncoin/testnet/ioncoin.conf | |
CMD iond -rpcuser=${IOND_USERNAME} -rpcpassword=${IOND_PASSWORD} -rpcallowip=${IOND_ALLOWIP} ${IOND_ARGS} | |
EXPOSE 12700 12705 27170 27175 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://hub.docker.com/r/rdewilde/iond/