![caowei](/assets/img/avatar_default.png)
Manilla was missed in the previous patch that deprecated Fedora from the project. Related-Bug: #1616387 Change-Id: Ib041817eaa3818cd0e86466b030b212782c074da
30 lines
720 B
Django/Jinja
30 lines
720 B
Django/Jinja
FROM {{ namespace }}/{{ image_prefix }}manila-base:{{ tag }}
|
|
MAINTAINER {{ maintainer }}
|
|
|
|
{% block manila_data_header %}{% endblock %}
|
|
|
|
{% import "macros.j2" as macros with context %}
|
|
|
|
{% if install_type == 'binary' %}
|
|
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
|
|
|
RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
|
|
&& /bin/false
|
|
|
|
{% elif base_distro in ['ubuntu'] %}
|
|
|
|
{% set manila_data_packages = [
|
|
'manila-data'
|
|
] %}
|
|
|
|
{{ macros.install_packages(manila_data_packages | customizable("packages")) }}
|
|
|
|
{% endif %}
|
|
{% endif %}
|
|
|
|
{% block manila_data_footer %}{% endblock %}
|
|
{% block footer %}{% endblock %}
|
|
{{ include_footer }}
|
|
|
|
USER manila
|