kolla/docker/zun/zun-api/Dockerfile.j2
Hongbin Lu d965ddf256 Run zun-api with 'root' user
It looks zun-api needs root permission to run under apache2.
Otherwise, the zun process will have problem to write to
apache2 logs.

Change-Id: I8b201fc70b8347be9869d7e6bf1eec00d8a32d6e
2018-09-10 20:53:06 +00:00

18 lines
516 B
Django/Jinja

FROM {{ namespace }}/{{ image_prefix }}zun-base:{{ tag }}
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
{% block zun_api_header %}{% endblock %}
{% if install_type == 'binary' %}
RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
&& /bin/false
{% endif %}
COPY extend_start.sh /usr/local/bin/kolla_zun_extend_start
RUN chmod 755 /usr/local/bin/kolla_zun_extend_start
{% block zun_api_footer %}{% endblock %}
{% block footer %}{% endblock %}