This is an automated email from the ASF dual-hosted git repository.
smgoller pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode-benchmarks.git
The following commit(s) were added to refs/heads/develop by this push:
new 28d65fb Add liberica JDKs to image.
28d65fb is described below
commit 28d65fb6f8df2136ebaa4ae8eeb302a552ac63b9
Author: Sean Goller <[email protected]>
AuthorDate: Fri Jun 26 14:05:12 2020 -0700
Add liberica JDKs to image.
Authored-by: Sean Goller <[email protected]>
---
infrastructure/scripts/aws/image/packer.json | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/infrastructure/scripts/aws/image/packer.json
b/infrastructure/scripts/aws/image/packer.json
index 0375e25..753524e 100644
--- a/infrastructure/scripts/aws/image/packer.json
+++ b/infrastructure/scripts/aws/image/packer.json
@@ -73,10 +73,12 @@
{
"type": "shell",
"inline": [
+ "curl -fsSL https://download.bell-sw.com/pki/GPG-KEY-bellsoft | sudo
apt-key add -",
+ "sudo add-apt-repository \"deb [arch=amd64] https://apt.bell-sw.com/
stable main\"",
"sudo apt update",
"sudo apt-get -o Dpkg::Options::=\"--force-confnew\" upgrade -y",
- "sudo apt install -y openjdk-8-jdk openjdk-11-jdk unzip dstat",
- "sudo update-java-alternatives -s java-1.8.0-openjdk-amd64",
+ "sudo apt install -y java-common bellsoft-java8 bellsoft-java11
openjdk-8-jdk openjdk-11-jdk unzip dstat",
+ "sudo update-java-alternatives -s bellsoft-java8-amd64",
"sudo mv /tmp/defaults.cfg /etc/cloud/cloud.cfg.d/defaults.cfg",
"sudo sh -c \"echo 'StrictHostKeyChecking no' >>
/etc/ssh/ssh_config\"",
"sudo sh -c \"echo 'net.ipv4.tcp_syncookies = 0' >>
/etc/sysctl.conf\"",