make rabbitmq container build with debian
- use rabbitmq official package since debian does not offer required version - force-depend since we do not install logrotate Change-Id: I0818a6807210eb861aab5ef36d1f807a0ce435b2 Partially-implements: blueprint build-debian
This commit is contained in:
parent
31089795da
commit
10f2b59cf0
@ -8,12 +8,20 @@ RUN yum -y install \
|
||||
https://github.com/rabbitmq/rabbitmq-server/releases/download/rabbitmq_v3_5_7/rabbitmq-server-3.5.7-1.noarch.rpm \
|
||||
&& yum clean all
|
||||
|
||||
{% elif base_distro in ['ubuntu', 'debian'] %}
|
||||
{% elif base_distro == 'ubuntu' %}
|
||||
|
||||
RUN apt-get -y install --no-install-recommends \
|
||||
rabbitmq-server \
|
||||
&& apt-get clean
|
||||
|
||||
{% elif base_distro == 'debian' %}
|
||||
|
||||
RUN apt-get -y install --no-install-recommends \
|
||||
erlang-nox \
|
||||
&& curl -s -O http://www.rabbitmq.com/releases/rabbitmq-server/v3.5.7/rabbitmq-server_3.5.7-1_all.deb \
|
||||
&& dpkg -i --force-depends rabbitmq-server_3.5.7-1_all.deb \
|
||||
&& rm rabbitmq-server_3.5.7-1_all.deb
|
||||
|
||||
{% endif %}
|
||||
|
||||
# NOTE(sdake): the /bin/true unblocks the rabbitmq-plugins tool. Not sure how
|
||||
|
Loading…
Reference in New Issue
Block a user