From 478805680dd7dad877e39fdb66f7fee41453224b Mon Sep 17 00:00:00 2001 From: zhulingjie Date: Sun, 27 May 2018 15:07:08 -0400 Subject: [PATCH] Fix the elasticsearch start failed elasticsearch start failed due to the version of JAVA Change-Id: I73d9559a74799ece7963799787337d5717649453 Closes-Bug: #1773736 --- docker/elasticsearch/Dockerfile.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/elasticsearch/Dockerfile.j2 b/docker/elasticsearch/Dockerfile.j2 index f9a8204b3f..9c5c296704 100644 --- a/docker/elasticsearch/Dockerfile.j2 +++ b/docker/elasticsearch/Dockerfile.j2 @@ -10,10 +10,10 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build {% if base_distro in ['centos', 'oraclelinux', 'rhel'] %} {% set elasticsearch_packages = [ 'elasticsearch', - 'java-1.7.0-openjdk' + 'java-1.8.0-openjdk' ] %} -ENV JAVA_HOME /usr/lib/jvm/jre-1.7.0-openjdk/ +ENV JAVA_HOME /usr/lib/jvm/jre-1.8.0-openjdk/ {% elif base_distro in ['debian', 'ubuntu'] %} {% set elasticsearch_packages = [