Merge "Updated base image in Dockerfile and changed CMD to reference correct file"
This commit is contained in:
commit
732f224358
@ -1,8 +1,8 @@
|
||||
FROM fedora
|
||||
FROM kollaglue/fedora-rdo-base
|
||||
MAINTAINER Lars Kellogg-Stedman <lars@redhat.com>
|
||||
|
||||
RUN yum -y install rabbitmq-server; yum clean all
|
||||
ADD rabbitmq.config /etc/rabbitmq/
|
||||
ADD rabbitmq-env.conf /etc/rabbitmq/
|
||||
ADD start.sh /start.sh
|
||||
ADD init-rabbitmq.sh /start.sh
|
||||
CMD ["/start.sh"]
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
: ${RABBITMQ_USER:=guest}
|
||||
: ${RABBITMQ_PASS:=guest}
|
||||
: ${RABBITMQ_PORT:=5672}
|
||||
: ${RABBITMQ_NODE_PORT:=5672}
|
||||
: ${RABBITMQ_LOG_BASE:=/var/log/rabbitmq}
|
||||
|
||||
sed -i '
|
||||
@ -11,7 +11,7 @@ sed -i '
|
||||
' /etc/rabbitmq/rabbitmq.config
|
||||
|
||||
sed -i '
|
||||
s|@RABBITMQ_PORT@|'"$RABBITMQ_PORT"'|g
|
||||
s|@RABBITMQ_PORT@|'"$RABBITMQ_NODE_PORT"'|g
|
||||
s|@RABBITMQ_LOG_BASE@|'"$RABBITMQ_LOG_BASE"'|g
|
||||
' /etc/rabbitmq/rabbitmq-env.conf
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user