You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by jb...@apache.org on 2019/12/18 21:49:28 UTC

[geode-benchmarks] branch develop updated: install JDK11 on image and fix image script issue with dpkg (#123)

This is an automated email from the ASF dual-hosted git repository.

jbarrett 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 09e9d50  install JDK11 on image and fix image script issue with dpkg (#123)
09e9d50 is described below

commit 09e9d50cc3cad7d82f4a8cc14f3b0276f853f2d9
Author: Helena Bales <hb...@pivotal.io>
AuthorDate: Wed Dec 18 13:49:20 2019 -0800

    install JDK11 on image and fix image script issue with dpkg (#123)
    
    Signed-off-by: Sean Goller <sg...@pivotal.io>
---
 infrastructure/scripts/aws/image/packer.json | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/infrastructure/scripts/aws/image/packer.json b/infrastructure/scripts/aws/image/packer.json
index f82f423..06cec25 100644
--- a/infrastructure/scripts/aws/image/packer.json
+++ b/infrastructure/scripts/aws/image/packer.json
@@ -43,8 +43,8 @@
       "type": "shell",
       "inline": [
         "sudo apt update",
-        "sudo UCF_FORCE_CONFFOLD= UCF_FORCE_CONFFNEW=YES apt upgrade -y",
-        "sudo apt install -y openjdk-8-jdk unzip dstat",
+        "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 mv /tmp/defaults.cfg /etc/cloud/cloud.cfg.d/defaults.cfg",
         "sudo sh -c \"echo 'StrictHostKeyChecking no' >> /etc/ssh/ssh_config\"",