From 415716552921ba8a0ff5bd0863d8e14497f71cbd Mon Sep 17 00:00:00 2001 From: Andrew Smith Date: Thu, 25 Jan 2018 14:51:34 -0500 Subject: Enable kafka for rhel distro derivatives Missing download of jre via openjdk package Change-Id: Icce1a92f9707b435e1d4a4a75453e21b541b2a22 --- docker/kafka/Dockerfile.j2 | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'docker') diff --git a/docker/kafka/Dockerfile.j2 b/docker/kafka/Dockerfile.j2 index 7e825ad08..4a809aaad 100644 --- a/docker/kafka/Dockerfile.j2 +++ b/docker/kafka/Dockerfile.j2 @@ -8,10 +8,9 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build {{ macros.configure_user(name='kafka', homedir='/kafka') }} {% if base_distro in ['centos', 'oraclelinux', 'rhel'] %} - -RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \ - && /bin/false - + {% set kafka_packages = [ + 'java-1.8.0-openjdk', + ] %} {% elif base_distro in ['debian', 'ubuntu'] %} {% set kafka_packages = [ 'default-jre', -- cgit v1.2.3