Skip to content

Commit

Permalink
优化 rabbitmq
Browse files Browse the repository at this point in the history
  • Loading branch information
supermy committed Apr 12, 2015
1 parent db1e97a commit 70f0210
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions common/myrabbitmq/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mydebian_base:latest
FROM jamesmo/debian:7

# add our user and group first to make sure their IDs get assigned consistently, regardless of whatever dependencies get added
RUN groupadd -r rabbitmq && useradd -r -d /var/lib/rabbitmq -m -g rabbitmq rabbitmq
Expand All @@ -15,7 +15,7 @@ RUN echo 'deb http://packages.erlang-solutions.com/debian wheezy contrib' > /etc
RUN apt-key adv --keyserver pool.sks-keyservers.net --recv-keys F78372A06FF50C80464FC1B4F7B8CEA6056E8E56
RUN echo 'deb http://www.rabbitmq.com/debian/ testing main' > /etc/apt/sources.list.d/rabbitmq.list

ENV RABBITMQ_VERSION 3.5.0-1
ENV RABBITMQ_VERSION 3.5.1-1

RUN apt-get update && apt-get install -y rabbitmq-server=$RABBITMQ_VERSION --no-install-recommends && rm -rf /var/lib/apt/lists/*

Expand Down
2 changes: 1 addition & 1 deletion common/myrabbitmq/fig.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#源和中文环境配置
base:
build: .
image: jamesmo/rabbitmq:3.5
ports:
- "5672:5672"
# volumes_from:
Expand Down
2 changes: 1 addition & 1 deletion common/myrabbitmq/rabbitmq/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM myrabbitmq_base:latest
FROM jamesmo/rabbitmq_base:3.5

RUN rabbitmq-plugins enable --offline rabbitmq_management

Expand Down

0 comments on commit 70f0210

Please sign in to comment.