Use Java 8 in Ubuntu/Debian for Apache Storm

On Ubuntu the default JRE pulls is version 11, whilst the Centos
images explicitly specify version 8. To maintain consistency across
distros this change explicitly uses verson 8 in Ubuntu/Debian as well.

Change-Id: Ibb69473840a688498cd87ac8289263e80bf87b06
Partially-Implements: blueprint monasca-containers
This commit is contained in:
Doug Szumski 2018-06-11 11:26:13 +01:00
parent 91d23981b2
commit 3dd801c145

View File

@ -13,7 +13,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
] %}
{% elif base_distro in ['debian', 'ubuntu'] %}
{% set storm_packages = [
'default-jre-headless',
'openjdk-8-jre-headless',
] %}
{% endif %}