FROM {{ namespace }}/{{ image_prefix }}openstack-base:{{ tag }} {% block labels %} LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}" {% endblock %} {% block cloudkitty_base_header %}{% endblock %} {% import "macros.j2" as macros with context %} {{ macros.configure_user(name='cloudkitty') }} {% set cloudkitty_base_pip_packages = [ '/cloudkitty' ] %} ADD cloudkitty-base-archive /cloudkitty-base-source COPY extend_start.sh /usr/local/bin/kolla_extend_start RUN ln -s cloudkitty-base-source/* cloudkitty \ && {{ macros.install_pip(cloudkitty_base_pip_packages | customizable("pip_packages")) }} \ && mkdir -p /etc/cloudkitty \ && cp -r /cloudkitty/etc/cloudkitty/* /etc/cloudkitty/ \ && touch /usr/local/bin/kolla_cloudkitty_extend_start \ && chmod 644 /usr/local/bin/kolla_extend_start /usr/local/bin/kolla_cloudkitty_extend_start {{ macros.kolla_patch_sources() }} {% block cloudkitty_base_footer %}{% endblock %}