elasticsearch: enable for Debian
Change-Id: Ife92f910ccf76fdef48f81e09e0abde0d09b9a1a
This commit is contained in:
parent
ec5daaaa63
commit
35040899e4
@ -15,3 +15,6 @@ deb [arch=amd64] https://packagecloud.io/grafana/stable/debian/ stretch main
|
||||
#
|
||||
# Unofficial repository for grafana (LP: #1768585).
|
||||
deb [arch=arm64] https://dl.bintray.com/fg2it/deb-arm64/ stretch main
|
||||
|
||||
# elasticsearch (arch:all), logstash (arch:all), kibana (arch:amd64)
|
||||
deb [arch=amd64] https://artifacts.elastic.co/packages/5.x/apt stable main
|
||||
|
@ -21,7 +21,15 @@ ENV JAVA_HOME /usr/lib/jvm/jre-1.7.0-openjdk/
|
||||
'openjdk-8-jre'
|
||||
] %}
|
||||
|
||||
ENV JAVA_HOME /usr/lib/jvm/java-8-openjdk-amd64/
|
||||
{% if base_arch == 'x86_64' %}
|
||||
ENV java_arch=amd64
|
||||
{% elif base_arch == 'aarch64' %}
|
||||
ENV java_arch=arm64
|
||||
{% else %}
|
||||
ENV java_arch={{ base_arch }}
|
||||
{% endif %}
|
||||
|
||||
ENV JAVA_HOME /usr/lib/jvm/java-8-openjdk-{{ java_arch }}/
|
||||
|
||||
{% endif %}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user