Merge pull request #32 from peerplays-network/hotfix/docker

Added ntp and upgraded boost version
This commit is contained in:
Roshan Syed 2019-05-23 14:03:17 -03:00 committed by GitHub
commit b6722c5780
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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