diff options
| author | Andrew Smith <ansmith@redhat.com> | 2018-01-25 14:51:34 -0500 |
|---|---|---|
| committer | Andrew Smith <ansmith@redhat.com> | 2018-01-25 14:51:34 -0500 |
| commit | 415716552921ba8a0ff5bd0863d8e14497f71cbd (patch) | |
| tree | b484466ac699ab8e838475a951a301938fbea3c1 /docker | |
| parent | 32694fcd3ee27c5bf6336652eb959d37b3b226b4 (diff) | |
| download | kolla-415716552921ba8a0ff5bd0863d8e14497f71cbd.tar.gz kolla-415716552921ba8a0ff5bd0863d8e14497f71cbd.zip | |
Enable kafka for rhel distro derivatives
Missing download of jre via openjdk package
Change-Id: Icce1a92f9707b435e1d4a4a75453e21b541b2a22
Diffstat (limited to 'docker')
| -rw-r--r-- | docker/kafka/Dockerfile.j2 | 7 |
1 files changed, 3 insertions, 4 deletions
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', |
