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