kolla-ansible/docker/rabbitmq/Dockerfile
Steven Dake ac930b33dd Make rabbitmq container work with it's proper hostname set
Change-Id: I0f79ba151dbb290378e2db0d1af9feb71cb84e6d
2015-03-18 15:24:47 -07:00

19 lines
494 B
Docker

FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%base
MAINTAINER Kolla Project (https://launchpad.net/kolla)
# Install required packages
RUN yum -y install rabbitmq-server hostname && yum clean all
# Run the management plugin
RUN /usr/lib/rabbitmq/bin/rabbitmq-plugins enable rabbitmq_management
# Copy Rabbit conf files
ADD rabbitmq.config /etc/rabbitmq/
ADD rabbitmq-env.conf /etc/rabbitmq/
# Copy start-up script
ADD start.sh /start.sh
# Start Rabbit through the start script
CMD ["/start.sh"]