Add rabbitmq_install block to RabbitMQ Dockerfile
Allow overriding the RabbitMQ installation so that the container build will not try to reach a package on the Internet. Change-Id: If4a4484a5771183d917f1c1c15749e175d6f81e1
This commit is contained in:
parent
54e6a4532f
commit
b6713a8213
@ -7,6 +7,7 @@ MAINTAINER {{ maintainer }}
|
||||
|
||||
{{ macros.configure_user(name='rabbitmq') }}
|
||||
|
||||
{% block rabbitmq_install %}
|
||||
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
||||
{% set rabbitmq_packages = [
|
||||
'hostname',
|
||||
@ -34,6 +35,7 @@ MAINTAINER {{ maintainer }}
|
||||
{{ macros.install_packages(rabbitmq_packages | customizable("packages")) }}
|
||||
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block rabbitmq_install_plugins %}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user