Merge "gnocchi: take care of centos/source on non-x86"
This commit is contained in:
@@ -46,6 +46,17 @@ RUN truncate -s 0 /etc/apache2/ports.conf
|
||||
'python-ldappool',
|
||||
'python-rados'
|
||||
] %}
|
||||
|
||||
# on x86-64 pip grabs precompiled numpy/scipy - on aarch64/ppc64le
|
||||
# it needs to be built
|
||||
|
||||
{% if base_arch != 'x86_64' %}
|
||||
{% set gnocchi_base_packages = gnocchi_base_packages + [
|
||||
'blas-devel',
|
||||
'lapack-devel'
|
||||
] %}
|
||||
{% endif %}
|
||||
|
||||
{{ macros.install_packages(gnocchi_base_packages | customizable("packages")) }}
|
||||
RUN mkdir -p /var/www/cgi-bin/gnocchi \
|
||||
&& sed -i -r 's,^(Listen 80),#\1,' /etc/httpd/conf/httpd.conf \
|
||||
|
Reference in New Issue
Block a user