diff --git a/vagrant/bootstrap.sh b/vagrant/bootstrap.sh index 4a2ddd6..b91434e 100755 --- a/vagrant/bootstrap.sh +++ b/vagrant/bootstrap.sh @@ -1,18 +1,17 @@ #!/bin/bash - set -eu -o pipefail # install build deps add-apt-repository ppa:ethereum/ethereum apt-get update -apt-get install -y build-essential unzip libdb-dev libsodium-dev zlib1g-dev libtinfo-dev solc sysvbanner wrk +apt-get install -y build-essential unzip libdb-dev libleveldb-dev libsodium-dev zlib1g-dev libtinfo-dev solc sysvbanner wrk # install constellation -wget -q https://github.com/jpmorganchase/constellation/releases/download/v0.0.1-alpha/ubuntu1604.zip -unzip ubuntu1604.zip -cp ubuntu1604/constellation-node /usr/local/bin && chmod 0755 /usr/local/bin/constellation-node -cp ubuntu1604/constellation-enclave-keygen /usr/local/bin && chmod 0755 /usr/local/bin/constellation-enclave-keygen -rm -rf ubuntu1604.zip ubuntu1604 +CREL=constellation-0.2.0-ubuntu1604 +wget -q https://github.com/jpmorganchase/constellation/releases/download/v0.2.0/$CREL.tar.xz +tar xfJ $CREL.tar.xz +cp $CREL/constellation-node /usr/local/bin && chmod 0755 /usr/local/bin/constellation-node +rm -rf $CREL # install golang GOREL=go1.7.3.linux-amd64.tar.gz @@ -24,9 +23,9 @@ PATH=$PATH:/usr/local/go/bin echo 'PATH=$PATH:/usr/local/go/bin' >> /home/ubuntu/.bashrc # make/install quorum -git clone https://github.com/getamis/quorum.git +git clone https://github.com/jpmorganchase/quorum.git pushd quorum >/dev/null -git checkout feature/istanbul +git checkout tags/v2.0.0 make all cp build/bin/geth /usr/local/bin cp build/bin/bootnode /usr/local/bin