Skip to content

Commit 49021c7

Browse files
committed
Modifications to support automatic clustering
1 parent 40064a4 commit 49021c7

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

Dockerfile

+5-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ MAINTAINER Dave Goehrig [email protected]
77

88
# We need the developer tools to build the occasional add on or two
99
RUN yum -y groupinstall "Development Tools"
10+
RUN yum -y install gawk
1011

1112
# Install EPEL6 for additional packages
1213
RUN yum -y install http://mirror.pnl.gov/epel/6/i386/epel-release-6-8.noarch.rpm
@@ -27,7 +28,10 @@ RUN chown rabbitmq:rabbitmq /var/lib/rabbitmq/.erlang.cookie
2728
ADD ./rabbitmq-server /usr/lib/rabbitmq/bin/rabbitmq-server
2829

2930
# Update rabbitmqctl
30-
ADD ./rabbitmqclt /usr/lib/rabbitmq/bin/rabbitmqctl
31+
ADD ./rabbitmqctl /usr/lib/rabbitmq/bin/rabbitmqctl
32+
33+
# Fix permissions on scripts
34+
RUN chmod 755 /usr/lib/rabbitmq/bin/rabbitmqctl /usr/lib/rabbitmq/bin/rabbitmq-server
3135

3236
# install a script to setup the cluster based on DNS
3337
ADD ./rabbitmq-cluster /usr/sbin/rabbitmq-cluster

rabbitmq-server

100644100755
File mode changed.

rabbitmqctl

100644100755
File mode changed.

0 commit comments

Comments
 (0)