Skip to content

Instantly share code, notes, and snippets.

@poctek
Created January 9, 2018 11:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save poctek/d9f454021b802ccebc480ac6f9214612 to your computer and use it in GitHub Desktop.
Save poctek/d9f454021b802ccebc480ac6f9214612 to your computer and use it in GitHub Desktop.
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