kolla/docker/mistral/mistral-api/Dockerfile.j2
Arnaud Morin 52014a7805 Do not use mistral user for mistral-api
Mistral-api is started using wsgi and apache2 in the
container need to start with the root user, like nova-api.

Closes-bug: #2000915

Signed-off-by: Arnaud Morin <arnaud.morin@ovhcloud.com>
Change-Id: Icace8576dcf0085a5e51eb453cbad2ac89c7358e
2023-01-03 12:56:02 +01:00

19 lines
597 B
Django/Jinja

FROM {{ namespace }}/{{ image_prefix }}mistral-base:{{ tag }}
{% block labels %}
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
{% endblock %}
{% block mistral_api_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% set mistral_api_packages = [
] %}
{{ macros.install_packages(mistral_api_packages | customizable("packages")) }}
COPY extend_start.sh /usr/local/bin/kolla_mistral_extend_start
RUN chmod 644 /usr/local/bin/kolla_mistral_extend_start
{% block mistral_api_footer %}{% endblock %}
{% block footer %}{% endblock %}