Browse Source

There is no Java 8 in Debian 'buster' (part 3)

Good to have proper Java version. Better is when JAVA_HOME is also
adjusted to point to proper directory. And to have it set proper way.

Change-Id: I0f83c3498028135751b0b887665d009e5e19410f
(cherry picked from commit 0383aaca7b)
changes/50/686150/1
Marcin Juszkiewicz 2 years ago
committed by Mark Goddard
parent
commit
7f8dd3063b
  1. 2
      docker/elasticsearch/Dockerfile.j2
  2. 2
      docker/logstash/Dockerfile.j2
  3. 2
      docker/monasca/monasca-thresh/Dockerfile.j2

2
docker/elasticsearch/Dockerfile.j2

@ -21,7 +21,7 @@ ENV JAVA_HOME /usr/lib/jvm/jre-1.8.0-openjdk/
'elasticsearch',
] %}
ENV JAVA_HOME /usr/lib/jvm/java-8-openjdk-{{debian_arch}}/
ENV JAVA_HOME /usr/lib/jvm/java-{{java_version}}-openjdk-{{debian_arch}}/
{% endif %}

2
docker/logstash/Dockerfile.j2

@ -27,7 +27,7 @@ ENV JAVA_HOME /usr/lib/jvm/jre-1.8.0-openjdk/
'logrotate'
] %}
ENV JAVA_HOME /usr/lib/jvm/java-${java_version}-openjdk-{{debian_arch}}/
ENV JAVA_HOME /usr/lib/jvm/java-{{java_version}}-openjdk-{{debian_arch}}/
{% endif %}

2
docker/monasca/monasca-thresh/Dockerfile.j2

@ -36,7 +36,7 @@ ENV JAVA_HOME /usr/lib/jvm/jre-1.8.0-openjdk/
'maven',
] %}
ENV JAVA_HOME /usr/lib/jvm/java-8-openjdk-{{debian_arch}}/
ENV JAVA_HOME /usr/lib/jvm/java-{{java_version}}-openjdk-{{debian_arch}}/
{% endif %}

Loading…
Cancel
Save