gnocchi-base: add some devel packages for non-x86
On x86_64 pip is fetching precompiled 'scipy' package. On other architectures we need to build it. For that we need some more development packages. Partially-Implements: blueprint multiarch-and-arm64-containers Change-Id: I173f8daf1aa0aeb1683db08c50b79a0c39f9dc64
This commit is contained in:
parent
a130ecb153
commit
7fd8f8a4c0
|
@ -59,6 +59,16 @@ RUN mkdir -p /var/www/cgi-bin/gnocchi \
|
|||
'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 + [
|
||||
'libblas-dev',
|
||||
'liblapack-dev'
|
||||
] %}
|
||||
{% endif %}
|
||||
|
||||
{{ macros.install_packages(gnocchi_base_packages | customizable("packages")) }}
|
||||
RUN truncate -s 0 /etc/apache2/ports.conf
|
||||
|
||||
|
|
Loading…
Reference in New Issue