Skip to content

Instantly share code, notes, and snippets.

@wavejumper
Last active August 29, 2015 13:57
Show Gist options
  • Save wavejumper/9485486 to your computer and use it in GitHub Desktop.
Save wavejumper/9485486 to your computer and use it in GitHub Desktop.
FROM phusion/baseimage:0.9.6
RUN apt-get -qq -y install wget
RUN wget https://www.rabbitmq.com/rabbitmq-signing-key-public.asc -O /tmp/rabbitmq.asc
RUN apt-key add /tmp/rabbitmq.asc
RUN rm /tmp/rabbitmq.asc
RUN echo "deb http://www.rabbitmq.com/debian/ testing main" > /etc/apt/sources.list.d/rabbitmq.list
RUN apt-get -qq update
RUN apt-get -qq -y install rabbitmq-server
RUN /usr/sbin/rabbitmq-plugins enable rabbitmq_management
EXPOSE 5672 15672 4369
CMD /usr/sbin/rabbitmq-server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment