Add header blocks to all Dockerfiles

Change needed to add header blocks to all Dockerfiles, similar to the
base.

Use case is to easily run something before packages are installed, e.g.
to COPY a local rpm in that can be added to the package list.

Change-Id: I1bbfdf0b762da0a392aa8bf47781315b45377bee
Closes-Bug: 1618969
changes/78/366878/4
Paul Bourke 6 years ago
parent 7db277b145
commit b41247c656
  1. 3
      docker/aodh/aodh-api/Dockerfile.j2
  2. 2
      docker/aodh/aodh-base/Dockerfile.j2
  3. 2
      docker/aodh/aodh-evaluator/Dockerfile.j2
  4. 2
      docker/aodh/aodh-expirer/Dockerfile.j2
  5. 2
      docker/aodh/aodh-listener/Dockerfile.j2
  6. 2
      docker/aodh/aodh-notifier/Dockerfile.j2
  7. 2
      docker/barbican/barbican-api/Dockerfile.j2
  8. 2
      docker/barbican/barbican-base/Dockerfile.j2
  9. 2
      docker/barbican/barbican-keystone-listener/Dockerfile.j2
  10. 2
      docker/barbican/barbican-worker/Dockerfile.j2
  11. 2
      docker/bifrost/bifrost-base/Dockerfile.j2
  12. 3
      docker/bifrost/bifrost-deploy/Dockerfile.j2
  13. 2
      docker/ceilometer/ceilometer-api/Dockerfile.j2
  14. 2
      docker/ceilometer/ceilometer-base/Dockerfile.j2
  15. 2
      docker/ceilometer/ceilometer-central/Dockerfile.j2
  16. 2
      docker/ceilometer/ceilometer-collector/Dockerfile.j2
  17. 2
      docker/ceilometer/ceilometer-compute/Dockerfile.j2
  18. 2
      docker/ceilometer/ceilometer-notification/Dockerfile.j2
  19. 3
      docker/ceph/ceph-base/Dockerfile.j2
  20. 2
      docker/ceph/ceph-mon/Dockerfile.j2
  21. 2
      docker/ceph/ceph-osd/Dockerfile.j2
  22. 2
      docker/ceph/ceph-rgw/Dockerfile.j2
  23. 2
      docker/cinder/cinder-api/Dockerfile.j2
  24. 2
      docker/cinder/cinder-backup/Dockerfile.j2
  25. 2
      docker/cinder/cinder-base/Dockerfile.j2
  26. 2
      docker/cinder/cinder-rpcbind/Dockerfile.j2
  27. 2
      docker/cinder/cinder-scheduler/Dockerfile.j2
  28. 2
      docker/cinder/cinder-volume/Dockerfile.j2
  29. 2
      docker/cloudkitty/cloudkitty-api/Dockerfile.j2
  30. 2
      docker/cloudkitty/cloudkitty-base/Dockerfile.j2
  31. 2
      docker/cloudkitty/cloudkitty-processor/Dockerfile.j2
  32. 2
      docker/collectd/Dockerfile.j2
  33. 2
      docker/congress/congress-api/Dockerfile.j2
  34. 3
      docker/congress/congress-base/Dockerfile.j2
  35. 2
      docker/congress/congress-datasource/Dockerfile.j2
  36. 2
      docker/congress/congress-policy-engine/Dockerfile.j2
  37. 3
      docker/cron/Dockerfile.j2
  38. 3
      docker/designate/designate-api/Dockerfile.j2
  39. 3
      docker/designate/designate-backend-bind9/Dockerfile.j2
  40. 3
      docker/designate/designate-base/Dockerfile.j2
  41. 3
      docker/designate/designate-central/Dockerfile.j2
  42. 3
      docker/designate/designate-mdns/Dockerfile.j2
  43. 3
      docker/designate/designate-pool-manager/Dockerfile.j2
  44. 3
      docker/designate/designate-sink/Dockerfile.j2
  45. 2
      docker/dind/Dockerfile.j2
  46. 2
      docker/elasticsearch/Dockerfile.j2
  47. 2
      docker/etcd/Dockerfile.j2
  48. 2
      docker/glance/glance-api/Dockerfile.j2
  49. 2
      docker/glance/glance-base/Dockerfile.j2
  50. 2
      docker/glance/glance-registry/Dockerfile.j2
  51. 3
      docker/gnocchi/gnocchi-api/Dockerfile.j2
  52. 14
      docker/gnocchi/gnocchi-base/Dockerfile.j2
  53. 2
      docker/gnocchi/gnocchi-metricd/Dockerfile.j2
  54. 2
      docker/gnocchi/gnocchi-statsd/Dockerfile.j2
  55. 2
      docker/haproxy/Dockerfile.j2
  56. 2
      docker/heat/heat-api-cfn/Dockerfile.j2
  57. 3
      docker/heat/heat-api/Dockerfile.j2
  58. 2
      docker/heat/heat-base/Dockerfile.j2
  59. 2
      docker/heat/heat-engine/Dockerfile.j2
  60. 2
      docker/heka/Dockerfile.j2
  61. 2
      docker/horizon/Dockerfile.j2
  62. 3
      docker/influxdb/Dockerfile.j2
  63. 2
      docker/ironic/ironic-api/Dockerfile.j2
  64. 2
      docker/ironic/ironic-base/Dockerfile.j2
  65. 2
      docker/ironic/ironic-conductor/Dockerfile.j2
  66. 2
      docker/ironic/ironic-inspector/Dockerfile.j2
  67. 2
      docker/ironic/ironic-pxe/Dockerfile.j2
  68. 2
      docker/iscsid/Dockerfile.j2
  69. 3
      docker/keepalived/Dockerfile.j2
  70. 3
      docker/keystone/keystone-base/Dockerfile.j2
  71. 3
      docker/keystone/keystone-fernet/Dockerfile.j2
  72. 3
      docker/keystone/keystone-ssh/Dockerfile.j2
  73. 2
      docker/keystone/keystone/Dockerfile.j2
  74. 2
      docker/kibana/Dockerfile.j2
  75. 2
      docker/kolla-toolbox/Dockerfile.j2
  76. 2
      docker/kuryr/Dockerfile.j2
  77. 3
      docker/magnum/magnum-api/Dockerfile.j2
  78. 3
      docker/magnum/magnum-base/Dockerfile.j2
  79. 3
      docker/magnum/magnum-conductor/Dockerfile.j2
  80. 2
      docker/manila/manila-api/Dockerfile.j2
  81. 2
      docker/manila/manila-base/Dockerfile.j2
  82. 2
      docker/manila/manila-scheduler/Dockerfile.j2
  83. 2
      docker/manila/manila-share/Dockerfile.j2
  84. 2
      docker/mariadb/Dockerfile.j2
  85. 2
      docker/memcached/Dockerfile.j2
  86. 3
      docker/mistral/mistral-api/Dockerfile.j2
  87. 2
      docker/mistral/mistral-base/Dockerfile.j2
  88. 2
      docker/mistral/mistral-engine/Dockerfile.j2
  89. 2
      docker/mistral/mistral-executor/Dockerfile.j2
  90. 2
      docker/mongodb/Dockerfile.j2
  91. 2
      docker/multipathd/Dockerfile.j2
  92. 3
      docker/murano/murano-api/Dockerfile.j2
  93. 2
      docker/murano/murano-base/Dockerfile.j2
  94. 2
      docker/murano/murano-engine/Dockerfile.j2
  95. 2
      docker/neutron/neutron-base/Dockerfile.j2
  96. 2
      docker/neutron/neutron-dhcp-agent/Dockerfile.j2
  97. 2
      docker/neutron/neutron-l3-agent/Dockerfile.j2
  98. 3
      docker/neutron/neutron-lbaas-agent/Dockerfile.j2
  99. 2
      docker/neutron/neutron-linuxbridge-agent/Dockerfile.j2
  100. 2
      docker/neutron/neutron-metadata-agent/Dockerfile.j2
  101. Some files were not shown because too many files have changed in this diff Show More

@ -1,5 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}aodh-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block aodh_api_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}openstack-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block aodh_base_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}aodh-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block aodh_evaluator_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}aodh-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block aodh_expirer_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}aodh-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block aodh_listener_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}aodh-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block aodh_notifier_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}barbican-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block barbican_api_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}openstack-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block barbican_base_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}barbican-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block barbican_keystone_listener_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}barbican-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block barbican_worker_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}openstack-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block bifrost_base_header %}{% endblock %}
{% if install_type == 'binary' %}
RUN echo '{{ install_type }} not yet available for {{ base_distro }}' && /bin/false

@ -1,5 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}bifrost-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block bifrost_deploy_header %}{% endblock %}
ENV container docker
{% import "macros.j2" as macros with context %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}ceilometer-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block ceilometer_api_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}openstack-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block ceilometer_base_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}ceilometer-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block ceilometer_central_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}ceilometer-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block ceilometer_collector_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}ceilometer-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block ceilometer_compute_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}ceilometer-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block ceilometer_notification_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,5 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block ceph_base_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}ceph-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block ceph_mon_header %}{% endblock %}
COPY fetch_ceph_keys.py /usr/bin/
COPY extend_start.sh /usr/local/bin/kolla_extend_start

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}ceph-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block ceph_osd_header %}{% endblock %}
COPY extend_start.sh /usr/local/bin/kolla_extend_start
RUN chmod 755 /usr/local/bin/kolla_extend_start

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}ceph-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block ceph_rgw_header %}{% endblock %}
{% block ceph_rgw_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}cinder-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block cinder_api_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}cinder-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block cinder_backup_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}openstack-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block cinder_base_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}cinder-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block cinder_rpcbind_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}cinder-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block cinder_scheduler_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}cinder-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block cinder_volume_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}cloudkitty-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block cloudkitty_api_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}openstack-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block cloudkitty_base_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}cloudkitty-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block cloudkitty_processor_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}openstack-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block collectd_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% set collectd_packages = ['collectd'] %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}congress-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block congress_api_header %}{% endblock %}
COPY extend_start.sh /usr/local/bin/kolla_congress_extend_start
RUN chmod 755 /usr/local/bin/kolla_congress_extend_start

@ -1,5 +1,8 @@
FROM {{ namespace }}/{{ image_prefix}}openstack-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block congress_base_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}congress-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block congress_datasource_header %}{% endblock %}
{% block congress_datasource_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}congress-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block congress_policy_engine_header %}{% endblock %}
{% block congress_policy_engine_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}

@ -1,5 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block cron_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}

@ -1,5 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}designate-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block designate_api_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,5 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}designate-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block designate_backend_bind9_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,5 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}openstack-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block designate_base_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,5 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}designate-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block designate_central_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,5 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}designate-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block designate_mdns_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,5 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}designate-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block designate_pool_manager_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,5 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}designate-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block designate_sink_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}openstack-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block dind_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block elasticsearch_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block etcd_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}glance-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block glance_api_header %}{% endblock %}
COPY extend_start.sh /usr/local/bin/kolla_glance_extend_start
RUN chmod 755 /usr/local/bin/kolla_glance_extend_start

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}openstack-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block glance_base_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}glance-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block glance_registry_header %}{% endblock %}
{% block glance_registry_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}

@ -1,5 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}gnocchi-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block gnocchi_api_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,13 +1,15 @@
FROM {{ namespace }}/{{ image_prefix }}openstack-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block gnocchi_base_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}
{% if base_distro in ['fedora', 'centos', 'oraclelinux', 'rhel'] %}
{% set gnocchi_base_packages = [
'openstack-gnocchi-common',
'openstack-gnocchi-common',
'python-gnocchiclient',
'httpd',
'mod_wsgi',
@ -19,7 +21,7 @@ RUN mkdir -p /var/www/cgi-bin/gnocchi \
&& cp -a /usr/lib/python2.7/site-packages/gnocchi/rest/app.wsgi /var/www/cgi-bin/gnocchi/app \
&& sed -i -r 's,^(Listen 80),#\1,' /etc/httpd/conf/httpd.conf
{% elif base_distro in ['ubuntu'] %}
{% set gnocchi_base_packages = [
'gnocchi-common',
'apache2',
@ -35,7 +37,7 @@ RUN mkdir -p /var/www/cgi-bin/gnocchi \
{% endif %}
{% elif install_type == 'source' %}
{% if base_distro in ['fedora', 'centos', 'oraclelinux', 'rhel'] %}
{% set gnocchi_base_packages = [
'httpd',
'mod_wsgi',
@ -45,7 +47,7 @@ RUN mkdir -p /var/www/cgi-bin/gnocchi \
RUN mkdir -p /var/www/cgi-bin/gnocchi \
&& sed -i -r 's,^(Listen 80),#\1,' /etc/httpd/conf/httpd.conf
{% elif base_distro in ['ubuntu', 'debian'] %}
{% set gnocchi_base_packages = [
'apache2',
'libapache2-mod-wsgi',
@ -76,6 +78,6 @@ RUN usermod -a -G kolla gnocchi \
&& chmod 640 /etc/sudoers.d/kolla_gnocchi_sudoers \
&& chmod 755 /var/www/cgi-bin/gnocchi \
&& touch /usr/local/bin/kolla_gnocchi_extend_start \
&& chmod 755 /usr/local/bin/kolla_extend_start /usr/local/bin/kolla_gnocchi_extend_start
&& chmod 755 /usr/local/bin/kolla_extend_start /usr/local/bin/kolla_gnocchi_extend_start
{% block gnocchi_base_footer %}{% endblock %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}gnocchi-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block gnocchi_metricd_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}gnocchi-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block gnocchi_statsd_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block haproxy_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% set haproxy_packages = ['haproxy'] %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}heat-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block heat_api_cfn_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,5 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}heat-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block heat_api_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}openstack-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block heat_base_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}heat-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block heat_engine_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block heka_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}openstack-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block horizon_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,5 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block influxdb_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% set influxdb_packages = ['influxdb'] %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}ironic-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block ironic_api_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}openstack-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block ironic_base_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}ironic-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block ironic_conductor_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}ironic-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block ironic_inspector_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}ironic-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block ironic_pxe_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block iscsid_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}

@ -1,5 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block keepalived_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}

@ -1,5 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}openstack-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block keystone_base_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,5 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}keystone-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block keystone_fernet_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if base_distro in ['fedora', 'centos', 'oraclelinux', 'rhel'] %}

@ -1,5 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}keystone-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block keystone_ssh_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}keystone-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block keystone_header %}{% endblock %}
COPY keystone_bootstrap.sh /usr/local/bin/kolla_keystone_bootstrap
COPY extend_start.sh /usr/local/bin/kolla_extend_start
RUN chmod 755 /usr/local/bin/kolla_extend_start /usr/local/bin/kolla_keystone_bootstrap

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block kibana_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
RUN useradd -r -m --user-group kibana \

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block kolla_toolbox_header %}{% endblock %}
{% set os_client_config='/usr/lib/python2.7/site-packages/os_client_config/defaults.json' %}
{% import "macros.j2" as macros with context %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}openstack-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block kuryr_header %}{% endblock %}
{% if install_type == 'binary' %}
RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \

@ -1,5 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}magnum-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block magnum_api_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,5 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}openstack-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block magnum_base_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,5 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}magnum-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block magnum_conductor_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}manila-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block manila_api_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}openstack-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block manila_base_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}manila-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block manila_scheduler_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}manila-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block manila_share_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block mariadb_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block memcached_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}

@ -1,5 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}mistral-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block mistral_api_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}openstack-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block mistral_base_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}mistral-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block mistral_engine_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}mistral-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block mistral_executor_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block mongodb_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block multipathd_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}

@ -1,5 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}murano-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block murano_api_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}openstack-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block murano_base_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}murano-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block murano_engine_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}openstack-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block neutron_base_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}neutron-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block neutron_dhcp_agent_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if base_distro in ['ubuntu', 'debian'] %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}neutron-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block neutron_l3_agent_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,5 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}neutron-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block neutron_lbaas_agent_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% set neutron_lbaas_agent_packages = [

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}neutron-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block neutron_linuxbridge_agent_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}

@ -1,6 +1,8 @@
FROM {{ namespace }}/{{ image_prefix }}neutron-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block neutron_metadata_agent_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if base_distro in ['ubuntu', 'debian'] %}

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save