
Since change I1bc19f8198da3f9ab2ae2a8864c3349b21b0249e we install the centos-release-ceph-reef package as a dependency, but some code was still expecting the quincy package. Change-Id: I8ebcf815d80f3bead25e0078d69b34e17ad013bd
32 lines
852 B
Django/Jinja
32 lines
852 B
Django/Jinja
FROM {{ namespace }}/{{ image_prefix }}zun-base:{{ tag }}
|
|
{% block labels %}
|
|
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
|
|
{% endblock %}
|
|
|
|
{% block zun_compute_header %}{% endblock %}
|
|
|
|
{% import "macros.j2" as macros with context %}
|
|
|
|
{{ macros.enable_extra_repos(['ceph', 'epel']) }}
|
|
|
|
{% set zun_compute_packages = [
|
|
'ceph-common',
|
|
'e2fsprogs',
|
|
'pciutils',
|
|
'xfsprogs',
|
|
] %}
|
|
|
|
{{ macros.install_packages(zun_compute_packages | customizable("packages")) }}
|
|
|
|
COPY zun_sudoers /etc/sudoers.d/kolla_zun_sudoers
|
|
COPY extend_start.sh /usr/local/bin/kolla_zun_extend_start
|
|
|
|
RUN chmod 644 /usr/local/bin/kolla_zun_extend_start \
|
|
&& chmod 750 /etc/sudoers.d \
|
|
&& chmod 640 /etc/sudoers.d/kolla_zun_sudoers
|
|
|
|
{% block zun_compute_footer %}{% endblock %}
|
|
{% block footer %}{% endblock %}
|
|
|
|
USER zun
|