aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Smith <ansmith@redhat.com>2018-01-25 14:51:34 -0500
committerAndrew Smith <ansmith@redhat.com>2018-01-25 14:51:34 -0500
commit415716552921ba8a0ff5bd0863d8e14497f71cbd (patch)
treeb484466ac699ab8e838475a951a301938fbea3c1
parent32694fcd3ee27c5bf6336652eb959d37b3b226b4 (diff)
downloadkolla-415716552921ba8a0ff5bd0863d8e14497f71cbd.tar.gz
kolla-415716552921ba8a0ff5bd0863d8e14497f71cbd.zip
Enable kafka for rhel distro derivatives
Missing download of jre via openjdk package Change-Id: Icce1a92f9707b435e1d4a4a75453e21b541b2a22
-rw-r--r--docker/kafka/Dockerfile.j27
-rwxr-xr-xkolla/image/build.py4
2 files changed, 3 insertions, 8 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',
diff --git a/kolla/image/build.py b/kolla/image/build.py
index 29d71452e..e1ecc3390 100755
--- a/kolla/image/build.py
+++ b/kolla/image/build.py
@@ -82,7 +82,6 @@ SKIPPED_IMAGES = {
"blazar-base",
"dragonflow-base",
"freezer-base",
- "kafka",
"karbor-base",
"kuryr-base",
"monasca-base",
@@ -96,7 +95,6 @@ SKIPPED_IMAGES = {
"zun-base",
],
'centos+source': [
- "kafka",
"ovsdpdk",
# TODO(jeffrey4l): remove tripleo-ui when following bug is fixed
# https://bugs.launchpad.net/tripleo/+bug/1744215
@@ -170,7 +168,6 @@ SKIPPED_IMAGES = {
"blazar-base",
"dragonflow-base",
"freezer-base",
- "kafka",
"karbor-base",
"kuryr-base",
"monasca-base",
@@ -185,7 +182,6 @@ SKIPPED_IMAGES = {
],
'oraclelinux+source': [
"bifrost-base",
- "kafka",
"ovsdpdk",
# TODO(jeffrey4l): remove tripleo-ui when following bug is fixed
# https://bugs.launchpad.net/tripleo/+bug/1744215