diff --git a/Dockerfile b/Dockerfile index a3cc326a..53b8cd1d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,6 +17,8 @@ RUN \ libncurses-dev \ doxygen \ ca-certificates \ + ntp \ + wget \ && \ apt-get update -y && \ apt-get install -y fish && \ @@ -36,10 +38,18 @@ RUN \ done && \ git submodule sync --recursive ) && \ git submodule update --init --recursive && \ + BOOST_ROOT=$HOME/opt/boost_1_60_0 && \ + wget -c 'http://sourceforge.net/projects/boost/files/boost/1.60.0/boost_1_60_0.tar.gz/download' -O boost_1_60_0.tar.gz &&\ + tar -zxvf boost_1_60_0.tar.gz && \ + cd boost_1_60_0/ && \ + ./bootstrap.sh "--prefix=$BOOST_ROOT" && \ + ./b2 install -j$(nproc) && \ + cd .. && \ cmake \ + -DBOOST_ROOT="$BOOST_ROOT" \ -DCMAKE_BUILD_TYPE=Release \ . && \ - make witness_node cli_wallet && \ + make witness_node cli_wallet -j$(nproc) && \ install -s programs/witness_node/witness_node programs/cli_wallet/cli_wallet /usr/local/bin && \ # # Obtain version