aboutsummaryrefslogtreecommitdiff
path: root/docker/barbican
diff options
context:
space:
mode:
authorJames Kirsch <generalfuzz@gmail.com>2020-07-30 12:36:39 -0700
committerMark Goddard <mark@stackhpc.com>2020-08-10 09:51:07 +0000
commit5bdf514645e6ba603f813f299c68ff7fb12daa3c (patch)
tree2bd0ed0e4f532575e59e646657afd33a0affe35d /docker/barbican
parent69092eb574222564fcd3ce752a41db7fe51d61b8 (diff)
downloadkolla-5bdf514645e6ba603f813f299c68ff7fb12daa3c.tar.gz
kolla-5bdf514645e6ba603f813f299c68ff7fb12daa3c.zip
Refactor httpd install to base image
Refactor installing and initial setup of httpd and mod wsgi from individual services to base image. Change-Id: I651a55a9ebe258ef403d33de010a4dfb368a4021
Diffstat (limited to 'docker/barbican')
-rw-r--r--docker/barbican/barbican-api/Dockerfile.j210
1 files changed, 0 insertions, 10 deletions
diff --git a/docker/barbican/barbican-api/Dockerfile.j2 b/docker/barbican/barbican-api/Dockerfile.j2
index a789668e5..8aa2c14e7 100644
--- a/docker/barbican/barbican-api/Dockerfile.j2
+++ b/docker/barbican/barbican-api/Dockerfile.j2
@@ -10,30 +10,20 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
{% if install_type == 'binary' %}
{% if base_package_type == 'rpm' %}
{% set barbican_api_packages = [
- 'httpd',
- 'mod_ssl',
'openstack-barbican-api',
- 'python3-mod_wsgi',
'uwsgi-plugin-python3'
] %}
{{ macros.install_packages(barbican_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 barbican_api_packages = [
- 'apache2',
'barbican-api',
- 'libapache2-mod-wsgi-py3',
'uwsgi-plugin-python3'
] %}
{{ macros.install_packages(barbican_api_packages | customizable("packages")) }}
-RUN echo > /etc/apache2/ports.conf
-
{% endif %}
{% endif %}