diff options
| author | Zuul <zuul@review.opendev.org> | 2020-08-10 17:52:00 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2020-08-10 17:52:00 +0000 |
| commit | fd60c657101167b056177ae95aa2c695f14a93d4 (patch) | |
| tree | df61e63de4539721bbafca2e6eb224b019c99a73 /docker/mistral | |
| parent | 7f4a32e1a38b7887c165b88d6ea3c31cef29abca (diff) | |
| parent | 5bdf514645e6ba603f813f299c68ff7fb12daa3c (diff) | |
| download | kolla-fd60c657101167b056177ae95aa2c695f14a93d4.tar.gz kolla-fd60c657101167b056177ae95aa2c695f14a93d4.zip | |
Merge "Refactor httpd install to base image"
Diffstat (limited to 'docker/mistral')
| -rw-r--r-- | docker/mistral/mistral-api/Dockerfile.j2 | 29 |
1 files changed, 3 insertions, 26 deletions
diff --git a/docker/mistral/mistral-api/Dockerfile.j2 b/docker/mistral/mistral-api/Dockerfile.j2 index 7a8c47537..36612f5a3 100644 --- a/docker/mistral/mistral-api/Dockerfile.j2 +++ b/docker/mistral/mistral-api/Dockerfile.j2 @@ -10,45 +10,22 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build {% if install_type == 'binary' %} {% if base_package_type == 'rpm' %} {% set mistral_api_packages = [ - 'httpd', - 'mod_ssl', - 'openstack-mistral-api', - 'python3-mod_wsgi', + 'openstack-mistral-api' ] %} {{ macros.install_packages(mistral_api_packages | customizable("packages")) }} -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_package_type == 'deb' %} {% set mistral_api_packages = [ - 'apache2', - 'libapache2-mod-wsgi-py3', 'mistral-api' ] %} {{ macros.install_packages(mistral_api_packages | customizable("packages")) }} -RUN echo > /etc/apache2/ports.conf {% endif %} {% elif install_type == 'source' %} - {% if base_package_type == 'rpm' %} - {% set mistral_api_packages = [ - 'httpd', - 'mod_ssl', - 'python3-mod_wsgi', - ] %} -{{ macros.install_packages(mistral_api_packages | customizable("packages")) }} -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_package_type == 'deb' %} - {% set mistral_api_packages = [ - 'apache2', - 'libapache2-mod-wsgi-py3' - ] %} + {% set mistral_api_packages = [ + ] %} {{ macros.install_packages(mistral_api_packages | customizable("packages")) }} -RUN echo > /etc/apache2/ports.conf - {% endif %} {% endif %} COPY extend_start.sh /usr/local/bin/kolla_mistral_extend_start |
