aboutsummaryrefslogtreecommitdiff
path: root/docker/tripleo-ui
diff options
context:
space:
mode:
Diffstat (limited to 'docker/tripleo-ui')
-rw-r--r--docker/tripleo-ui/Dockerfile.j26
1 files changed, 3 insertions, 3 deletions
diff --git a/docker/tripleo-ui/Dockerfile.j2 b/docker/tripleo-ui/Dockerfile.j2
index 37f4eeda1..b14e4dcaf 100644
--- a/docker/tripleo-ui/Dockerfile.j2
+++ b/docker/tripleo-ui/Dockerfile.j2
@@ -6,7 +6,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}
- {% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
+ {% if base_package_type == 'rpm' %}
{% set tripleo_ui_packages = [
'httpd',
@@ -25,7 +25,7 @@ RUN echo 'tripleo-ui not yet available for {{ base_distro }}' && /bin/false
{% endif %}
{% elif install_type == 'source' %}
- {% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
+ {% if base_package_type == 'rpm' %}
{% set tripleo_ui_packages = [
'httpd',
'mod_ssl',
@@ -39,7 +39,7 @@ RUN echo 'tripleo-ui not yet available for {{ base_distro }}' && /bin/false
RUN sed -i -r 's,^(Listen 80),#\1,' /etc/httpd/conf/httpd.conf \
&& sed -i -r 's,^(Listen 443),#\1,' /etc/httpd/conf.d/ssl.conf
- {% elif base_distro in ['debian', 'ubuntu'] %}
+ {% elif base_package_type == 'deb' %}
RUN echo 'tripleo-ui not yet available for {{ base_distro }}' && /bin/false
{% endif %}