kolla/docker/venus/venus-api/Dockerfile.j2
howardlee 772de9662c Adding db sync script for venus
The script for database synchronization is missing in the venus-api image,
which makes it impossible to create the required database tables during
venus deployment.

Closes-Bug: #2029915
Change-Id: Ibbf75fa73b8397ea3686b42cec6cad6d8f6d3858
2023-11-07 08:36:02 +00:00

15 lines
433 B
Django/Jinja

FROM {{ namespace }}/{{ image_prefix }}venus-base:{{ tag }}
{% block labels %}
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
{% endblock %}
{% block venus_api_header %}{% endblock %}
COPY extend_start.sh /usr/local/bin/kolla_venus_extend_start
RUN chmod 644 /usr/local/bin/kolla_venus_extend_start
{% block venus_api_footer %}{% endblock %}
{% block footer %}{% endblock %}
USER venus