diff --git a/vagrant-scripts/bootstrap_vm.sh b/vagrant-scripts/bootstrap_vm.sh index 5515e80dc16..bc1d0150207 100755 --- a/vagrant-scripts/bootstrap_vm.sh +++ b/vagrant-scripts/bootstrap_vm.sh @@ -30,7 +30,8 @@ apt-get install -y make \ pkg-config \ bison \ curl \ - openjdk-7-jre \ + openjdk-7-jdk \ + ant \ zip \ unzip diff --git a/vagrant-scripts/vitess/build.sh b/vagrant-scripts/vitess/build.sh index 893b1061397..100b2f202c3 100755 --- a/vagrant-scripts/vitess/build.sh +++ b/vagrant-scripts/vitess/build.sh @@ -14,6 +14,10 @@ printf "\nBuilding Vitess...\n" sudo chown "$(whoami)":"$(whoami)" /vagrant sudo chown "$(whoami)":"$(whoami)" /vagrant/src cd "$VITESS_WORKSPACE" + +# open-jdk version that we are using in the VM needs this flag, otherwise we will fail to build ZK +export JAVA_TOOL_OPTIONS="-Dhttps.protocols=TLSv1.2" + ./bootstrap.sh # shellcheck disable=SC1091 source dev.env