Remove include_header and include_footer in all Dockerfiles

include_header and include_footer parameter is already removed, remove
them in all Dockerfiles.
Add missing footer block.

Change-Id: I90da03eb9f95a3827361d5f5ede65fde7d6be2b3
This commit is contained in:
Jeffrey Zhang 2017-02-02 15:22:36 +08:00
parent 061c3f8371
commit e5903d5fa9
130 changed files with 2 additions and 143 deletions

View File

@ -82,11 +82,7 @@ is as follows::
{% block << service >>_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
.. NOTE::
The generic footer block ``{% block footer %}{% endblock %}`` should not be
included in base images (e.g. glance-base).
{{ include_footer }} is legacy and should not be included in new services, it
is superseded by {% block footer %}{% endblock %}

View File

@ -19,4 +19,3 @@ RUN chmod 755 /usr/local/bin/kolla_aodh_extend_start
{% block aodh_api_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}

View File

@ -17,6 +17,4 @@ MAINTAINER {{ maintainer }}
{% block aodh_evaluator_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER aodh

View File

@ -17,6 +17,4 @@ MAINTAINER {{ maintainer }}
{% block aodh_expirer_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER aodh

View File

@ -17,6 +17,4 @@ MAINTAINER {{ maintainer }}
{% block aodh_listener_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER aodh

View File

@ -17,6 +17,4 @@ MAINTAINER {{ maintainer }}
{% block aodh_notifier_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER aodh

View File

@ -14,7 +14,6 @@ LABEL kolla_version="{{ kolla_version }}"
{% import "macros.j2" as macros with context %}
{% block base_header %}{% endblock %}
{{ include_header }}
ENV KOLLA_BASE_DISTRO {{ base_distro }}
ENV KOLLA_INSTALL_TYPE {{ install_type }}

View File

@ -58,4 +58,3 @@ CMD [ "/sbin/init" ]
{% block bifrost_deploy_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}

View File

@ -63,4 +63,3 @@ RUN chmod 755 /usr/local/bin/kolla_ceilometer_extend_start
{% block ceilometer_api_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}

View File

@ -18,6 +18,5 @@ MAINTAINER {{ maintainer }}
{% block ceilometer_central_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER ceilometer

View File

@ -18,6 +18,5 @@ MAINTAINER {{ maintainer }}
{% block ceilometer_collector_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER ceilometer

View File

@ -38,7 +38,6 @@ RUN /var/lib/kolla/venv/bin/pip --no-cache-dir install --upgrade -c requirements
{% block ceilometer_compute_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
# NOTE(huikang): non-root user does not work with libvirt.sock.
# Need configuration in nova-libvirt container to allow

View File

@ -18,6 +18,5 @@ MAINTAINER {{ maintainer }}
{% block ceilometer_notification_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER ceilometer

View File

@ -10,4 +10,3 @@ RUN chmod 755 /usr/local/bin/kolla_extend_start /usr/bin/fetch_ceph_keys.py
{% block ceph_mon_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}

View File

@ -8,4 +8,3 @@ RUN chmod 755 /usr/local/bin/kolla_extend_start
{% block ceph_osd_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}

View File

@ -5,4 +5,3 @@ MAINTAINER {{ maintainer }}
{% block ceph_rgw_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}

View File

@ -16,4 +16,3 @@ RUN chmod 755 /usr/local/bin/kolla_extend_start
{% block chrony_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}

View File

@ -55,6 +55,5 @@ RUN chmod 755 /usr/local/bin/kolla_cinder_extend_start
{% block cinder_api_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER cinder

View File

@ -42,6 +42,5 @@ MAINTAINER {{ maintainer }}
{% block cinder_backup_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER cinder

View File

@ -19,6 +19,5 @@ MAINTAINER {{ maintainer }}
{% block cinder_scheduler_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER cinder

View File

@ -53,6 +53,5 @@ RUN chmod 750 /etc/sudoers.d \
{% block cinder_volume_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER cinder

View File

@ -28,6 +28,5 @@ RUN chmod 755 /usr/local/bin/kolla_cloudkitty_extend_start
{% block cloudkitty_api_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER cloudkitty

View File

@ -25,6 +25,5 @@ RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
{% block cloudkitty_processor_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER cloudkitty

View File

@ -20,6 +20,5 @@ RUN chmod 755 /usr/local/bin/kolla_extend_start \
{% block collectd_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER collectd

View File

@ -8,6 +8,5 @@ RUN chmod 755 /usr/local/bin/kolla_congress_extend_start
{% block congress_api_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER congress

View File

@ -5,6 +5,5 @@ MAINTAINER {{ maintainer }}
{% block congress_datasource_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER congress

View File

@ -5,6 +5,5 @@ MAINTAINER {{ maintainer }}
{% block congress_policy_engine_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER congress

View File

@ -24,4 +24,3 @@ RUN chmod 755 /usr/local/bin/kolla_extend_start
{% block cron_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}

View File

@ -27,4 +27,4 @@ COPY start.sh /usr/local/bin/kolla_start
RUN chmod 755 /usr/local/bin/kolla_start
{% block dind_footer %}{% endblock %}
{{ include_footer }}
{% block footer %}{% endblock %}

View File

@ -40,6 +40,5 @@ RUN chmod 755 /usr/local/bin/kolla_extend_start \
{% block elasticsearch_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER elasticsearch

View File

@ -23,6 +23,5 @@ RUN chmod 755 /usr/local/bin/kolla_extend_start \
{% block etcd_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER etcd

View File

@ -48,6 +48,5 @@ RUN chmod 440 /etc/sudoers.d/kolla_fluentd_sudoers \
{% block fluentd_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER td-agent

View File

@ -44,4 +44,3 @@ RUN chmod 755 /usr/local/bin/kolla_freezer_extend_start
{% block freezer_api_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}

View File

@ -18,6 +18,5 @@ RUN chmod 755 /usr/local/bin/kolla_glance_extend_start
{% block glance_api_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER glance

View File

@ -5,6 +5,5 @@ MAINTAINER {{ maintainer }}
{% block glance_registry_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER glance

View File

@ -23,4 +23,3 @@ RUN chmod 755 /usr/local/bin/kolla_gnocchi_extend_start
{% block gnocchi_api_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}

View File

@ -17,6 +17,4 @@ MAINTAINER {{ maintainer }}
{% block gnocchi_metricd_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER gnocchi

View File

@ -15,6 +15,4 @@ MAINTAINER {{ maintainer }}
{% block gnocchi_statsd_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER gnocchi

View File

@ -22,6 +22,5 @@ RUN grafana-cli plugins install sileht-gnocchi-datasource \
{% block grafana_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER grafana

View File

@ -25,4 +25,3 @@ RUN chmod 755 /usr/local/bin/kolla_ensure_haproxy_latest_config
{% block haproxy_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}

View File

@ -16,6 +16,5 @@ MAINTAINER {{ maintainer }}
{% block heat_api_cfn_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER heat

View File

@ -19,6 +19,5 @@ RUN chmod 755 /usr/local/bin/kolla_heat_extend_start
{% block heat_api_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER heat

View File

@ -21,6 +21,4 @@ MAINTAINER {{ maintainer }}
{% block heat_engine_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER heat

View File

@ -34,6 +34,5 @@ RUN chmod 440 /etc/sudoers.d/kolla_heka_sudoers \
{% block heka_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER heka

View File

@ -128,4 +128,3 @@ RUN chmod 755 /usr/local/bin/kolla_extend_start
{% block horizon_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}

View File

@ -19,6 +19,5 @@ RUN chmod 750 /etc/sudoers.d \
{% block influxdb_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER influxdb

View File

@ -21,6 +21,5 @@ RUN chmod 755 /usr/local/bin/kolla_ironic_extend_start
{% block ironic_api_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER ironic

View File

@ -78,6 +78,5 @@ RUN /var/lib/kolla/venv/bin/pip --no-cache-dir install --upgrade -c requirements
{% block ironic_conductor_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER ironic

View File

@ -43,6 +43,5 @@ RUN chmod 750 /etc/sudoers.d \
{% block ironic_inspector_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER ironic

View File

@ -33,4 +33,3 @@ RUN chmod 755 /usr/local/bin/kolla_ironic_extend_start
{% block ironic_pxe_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}

View File

@ -29,4 +29,3 @@ RUN chmod 755 /usr/local/bin/kolla_extend_start \
{% block iscsid_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}

View File

@ -15,6 +15,5 @@ RUN chmod 755 /usr/local/bin/kolla_karbor_extend_start
{% block karbor_api_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER karbor

View File

@ -12,6 +12,5 @@ RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
{% block karbor_operationengine_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER karbor

View File

@ -12,6 +12,5 @@ RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
{% block karbor_protection_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER karbor

View File

@ -26,4 +26,3 @@ RUN chmod 755 /usr/local/bin/kolla_extend_start /check_alive.sh
{% block keepalived_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}

View File

@ -27,4 +27,3 @@ RUN chmod 755 /usr/local/bin/kolla_extend_start /usr/local/bin/kolla_keystone_bo
{% block keystone_fernet_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}

View File

@ -29,4 +29,3 @@ RUN chmod 755 /usr/local/bin/kolla_extend_start
{% block keystone_ssh_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}

View File

@ -13,4 +13,3 @@ RUN chmod 755 /usr/local/bin/kolla_extend_start /usr/local/bin/kolla_keystone_bo
{% block keystone_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}

View File

@ -15,6 +15,5 @@ RUN chmod 755 /usr/local/bin/kolla_extend_start
{% block kibana_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER kibana

View File

@ -76,6 +76,5 @@ RUN chmod 440 /etc/sudoers.d/kolla_ansible_sudoers
{% block kolla_toolbox_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER ansible

View File

@ -18,4 +18,3 @@ RUN curl -o /usr/bin/kubectl http://storage.googleapis.com/kubernetes-release/re
{% block kubetoolbox_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}

View File

@ -18,4 +18,3 @@ RUN ln -s kuryr-libnetwork-source/* kuryr-libnetwork \
{% block kuryr_libnetwork_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}

View File

@ -19,6 +19,5 @@ RUN chmod 755 /usr/local/bin/kolla_magnum_extend_start
{% block magnum_api_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER magnum

View File

@ -27,6 +27,5 @@ RUN curl -Lo /usr/local/bin/kubectl https://storage.googleapis.com/kubernetes-re
{% block magnum_conductor_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER magnum

View File

@ -22,6 +22,5 @@ RUN chmod 755 /usr/local/bin/kolla_manila_extend_start
{% block manila_api_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER manila

View File

@ -40,6 +40,5 @@ RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
{% block manila_data_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER manila

View File

@ -19,6 +19,5 @@ MAINTAINER {{ maintainer }}
{% block manila_scheduler_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER manila

View File

@ -19,6 +19,5 @@ MAINTAINER {{ maintainer }}
{% block manila_share_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER manila

View File

@ -41,6 +41,5 @@ RUN chmod 755 /usr/local/bin/kolla_extend_start \
{% block mariadb_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER mysql

View File

@ -12,6 +12,5 @@ MAINTAINER {{ maintainer }}
{% block memcached_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER memcached

View File

@ -19,6 +19,5 @@ RUN chmod 755 /usr/local/bin/kolla_mistral_extend_start
{% block mistral_api_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER mistral

View File

@ -17,6 +17,4 @@ MAINTAINER {{ maintainer }}
{% block mistral_engine_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER mistral

View File

@ -17,6 +17,4 @@ MAINTAINER {{ maintainer }}
{% block mistral_executor_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER mistral

View File

@ -29,6 +29,5 @@ RUN chmod 755 /usr/local/bin/kolla_extend_start \
{% block mongodb_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER mongodb

View File

@ -15,4 +15,3 @@ MAINTAINER {{ maintainer }}
{% block multipathd_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}

View File

@ -23,6 +23,5 @@ RUN chmod 755 /usr/local/bin/kolla_murano_extend_start
{% block murano_api_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER murano

View File

@ -18,6 +18,5 @@ MAINTAINER {{ maintainer }}
{% block murano_engine_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER murano

View File

@ -19,6 +19,5 @@ MAINTAINER {{ maintainer }}
{% block neutron_dhcp_agent_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER neutron

View File

@ -19,6 +19,5 @@ MAINTAINER {{ maintainer }}
{% block neutron_l3_agent_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER neutron

View File

@ -45,6 +45,5 @@ RUN chmod 755 /usr/local/bin/kolla_neutron_extend_start
{% block neutron_lbaas_agent_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER neutron

View File

@ -35,6 +35,5 @@ MAINTAINER {{ maintainer }}
{% block neutron_linuxbridge_agent_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER neutron

View File

@ -25,6 +25,5 @@ RUN chmod 755 /usr/local/bin/kolla_neutron_extend_start \
{% block neutron_metadata_agent_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER neutron

View File

@ -20,6 +20,5 @@ MAINTAINER {{ maintainer }}
{% block neutron_metering_agent_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER neutron

View File

@ -27,6 +27,5 @@ MAINTAINER {{ maintainer }}
{% block neutron_openvswitch_agent_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER neutron

View File

@ -35,6 +35,5 @@ RUN chmod 755 /usr/local/bin/kolla_neutron_extend_start \
{% block neutron_server_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER neutron

View File

@ -21,6 +21,5 @@ RUN chmod 755 /usr/local/bin/kolla_neutron_extend_start
{% block neutron_sfc_agent_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER neutron

View File

@ -46,7 +46,6 @@ RUN chmod 755 /usr/local/bin/kolla_neutron_extend_start
{% block neutron_vpnaas_agent_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
# TODO(pbourke): The libreswan driver required by redhat derived bases
# currently requires root in Neutron. Remove this if condition once

View File

@ -53,6 +53,5 @@ RUN chmod 755 /usr/local/bin/kolla_nova_extend_start
{% block nova_api_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER nova

View File

@ -29,6 +29,5 @@ RUN rm /etc/nova/nova-compute.conf
{% block nova_compute_ironic_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER nova

View File

@ -96,6 +96,5 @@ ENV PATH $PATH:/lib/udev
{% block nova_compute_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER nova

View File

@ -26,6 +26,5 @@ MAINTAINER {{ maintainer }}
{% block nova_conductor_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER nova

View File

@ -27,6 +27,5 @@ MAINTAINER {{ maintainer }}
{% block nova_consoleauth_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER nova

View File

@ -64,4 +64,3 @@ RUN chmod 755 /usr/local/bin/kolla_extend_start
{% block nova_libvirt_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}

View File

@ -33,6 +33,5 @@ MAINTAINER {{ maintainer }}
{% block nova_novncproxy_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER nova

View File

@ -26,6 +26,5 @@ MAINTAINER {{ maintainer }}
{% block nova_scheduler_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER nova

View File

@ -22,6 +22,5 @@ MAINTAINER {{ maintainer }}
{% block nova_serialproxy_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER nova

View File

@ -45,6 +45,5 @@ MAINTAINER {{ maintainer }}
{% block nova_spicehtml5proxy_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER nova

View File

@ -26,4 +26,3 @@ RUN chmod 755 /usr/local/bin/kolla_extend_start
{% block nova_ssh_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}

View File

@ -12,4 +12,3 @@ RUN chmod 755 /usr/local/bin/kolla_ensure_openvswitch_configured \
{% block openvswitch_db_server_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}

View File

@ -8,4 +8,3 @@ RUN chmod 755 /usr/local/bin/kolla_openvswitch_extend_start
{% block openvswitch_vswitchd_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}

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