install JDK11 on image and fix image script issue with dpkg (#123)

Signed-off-by: Sean Goller <sgoller@pivotal.io>
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\"",