Created
January 9, 2018 11:25
-
-
Save poctek/d9f454021b802ccebc480ac6f9214612 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
RUN apt-get update && \ | |
apt-get -y install wget \ | |
apt-utils \ | |
apt-transport-https \ | |
git \ | |
default-jdk \ | |
ant | |
RUN mkdir -p /root/.hush && \ | |
echo "rpcuser=whalesburg_pool" >> ~/.hush/hush.conf \ | |
echo "rpcpassword=`head -c 32 /dev/urandom | base64`" >>~/.hush/hush.conf \ | |
echo "addnode=node.myhush.network" >> ~/.hush/hush.conf \ | |
echo "addnode=mmc01.madbuda.me" >> ~/.hush/hush.conf \ | |
echo "addnode=zdash.suprnova.cc" >> ~/.hush/hush.conf \ | |
echo 'gen=1' >> ~/.hush/hush.conf \ | |
echo "genproclimit=-1" >> ~/.hush/hush.conf \ | |
RUN apt-get install -y build-essential \ | |
pkg-config \ | |
libc6-dev \ | |
m4 g++-multilib \ | |
autoconf \ | |
ncurses-dev \ | |
unzip \ | |
python \ | |
zlib1g-dev \ | |
wget \ | |
RUN apt-get update | |
RUN apt-get install --reinstall make | |
RUN apt-get update | |
RUN apt-get install -y gcc g++ bzip2 autotools-dev bsdmainutils automake libtool | |
RUN git clone https://github.com/MyHush/hush.git && \ | |
cd hush && \ | |
./zcutil/fetch-params.sh | |
RUN ./hush/zcutil/build.sh -j$(nproc) | |
CMD ./src/hushd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment