Skip to content

Instantly share code, notes, and snippets.

@RdeWilde
Created October 9, 2017 20:02
Show Gist options
  • Save RdeWilde/7575269353cc4151dfede73a7d990a15 to your computer and use it in GitHub Desktop.
Save RdeWilde/7575269353cc4151dfede73a7d990a15 to your computer and use it in GitHub Desktop.
Latest ionomy IOND on Ubuntu 16.04
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
@RdeWilde
Copy link
Author

RdeWilde commented Oct 9, 2017

@RdeWilde
Copy link
Author

RdeWilde commented Oct 9, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment