Merge "Fix the elasticsearch start failed"
This commit is contained in:
commit
98a6804860
@ -10,10 +10,10 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
|
|||||||
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
||||||
{% set elasticsearch_packages = [
|
{% set elasticsearch_packages = [
|
||||||
'elasticsearch',
|
'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'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set elasticsearch_packages = [
|
{% set elasticsearch_packages = [
|
||||||
|
Loading…
Reference in New Issue
Block a user