Browse Source

CentOS on AArch64 has only Erlang 22

RabbitMQ 3.8.14 is the last version with Erlang 22 support

Change-Id: I1d68a47f78b925af76c44c61af7da1465371e721
changes/01/788701/1
Marcin Juszkiewicz 7 months ago
parent
commit
0ec6049a73
  1. 15
      docker/kolla-toolbox/Dockerfile.j2
  2. 13
      docker/rabbitmq/Dockerfile.j2

15
docker/kolla-toolbox/Dockerfile.j2

@ -17,9 +17,9 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
{{ macros.enable_extra_repos(['rabbitmq', 'erlang', 'openvswitch', 'powertools']) }}
{% if base_package_type == 'rpm' %}
{% set kolla_toolbox_packages = [
'crudini',
'erlang-23.*',
'gcc',
'gdisk',
'git',
@ -34,9 +34,20 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
'openssl-devel',
'openvswitch',
'python3-devel',
'rabbitmq-server-3.8.*'
] %}
{% if base_arch == 'aarch64' %}
{% set kolla_toolbox_packages = kolla_toolbox_packages + [
'erlang-22.*',
'rabbitmq-server-3.8.14'
] %}
{% else %}
{% set kolla_toolbox_packages = kolla_toolbox_packages + [
'erlang-23.*',
'rabbitmq-server-3.8.*'
] %}
{% endif %}
{% elif base_package_type == 'deb' %}
{% set kolla_toolbox_packages = [
'build-essential',

13
docker/rabbitmq/Dockerfile.j2

@ -15,10 +15,21 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
{% if base_package_type == 'rpm' %}
{% set rabbitmq_packages = [
'hostname',
'erlang-23.*',
'rabbitmq-server-3.8.*'
] %}
{% if base_arch == 'aarch64' %}
{% set rabbitmq_packages = rabbitmq_packages + [
'erlang-22.*',
'rabbitmq-server-3.8.14'
] %}
{% else %}
{% set rabbitmq_packages = rabbitmq_packages + [
'erlang-23.*',
'rabbitmq-server-3.8.*'
] %}
{% endif %}
{% elif base_package_type == 'deb' %}
{% set rabbitmq_packages = [
'logrotate',

Loading…
Cancel
Save