Add RabbitMQ image for Ubuntu
Dockerfile for RabbitMQ server installed from Ubuntu Cloud Archive. Partially implements: blueprint install-from-ubuntu Change-Id: Ie90cbc4bea943b81b966d7b391b4de6df2e68364
This commit is contained in:
parent
fcda6a06d8
commit
802b118bfa
@ -44,7 +44,8 @@ function configure_rabbit {
|
||||
elif [ "$RABBITMQ_SERVICE_HOST" ]; then
|
||||
# work around:
|
||||
# https://bugs.launchpad.net/ubuntu/+source/rabbitmq-server/+bug/653405
|
||||
echo "${RABBITMQ_SERVICE_HOST} `/usr/bin/hostname -s`" > /etc/hosts
|
||||
HOSTNAME=`/usr/bin/hostname -s 2> /dev/null || /bin/hostname 2> /dev/null`
|
||||
echo "${RABBITMQ_SERVICE_HOST} ${HOSTNAME}" > /etc/hosts
|
||||
else
|
||||
echo "You need RABBITMQ_SERVICE_HOST or RABBITMQ_CLUSTER_NODES & " \
|
||||
" RABBITMQ_CLUSTER_COOKIES variables"
|
||||
|
14
docker/ubuntu/binary/rabbitmq/Dockerfile
Normal file
14
docker/ubuntu/binary/rabbitmq/Dockerfile
Normal file
@ -0,0 +1,14 @@
|
||||
FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%base:%%KOLLA_TAG%%
|
||||
MAINTAINER Kolla Project (https://launchpad.net/kolla)
|
||||
|
||||
RUN apt-get install -y --no-install-recommends \
|
||||
hostname \
|
||||
rabbitmq-server \
|
||||
&& apt-get clean \
|
||||
&& /usr/lib/rabbitmq/bin/rabbitmq-plugins --offline enable rabbitmq_management
|
||||
|
||||
COPY rabbitmq.config rabbitmq-env.conf /etc/rabbitmq/
|
||||
COPY config-rabbit.sh config-external.sh config-internal.sh /opt/kolla/
|
||||
COPY start.sh /start.sh
|
||||
|
||||
CMD ["/start.sh"]
|
1
docker/ubuntu/binary/rabbitmq/build
Symbolic link
1
docker/ubuntu/binary/rabbitmq/build
Symbolic link
@ -0,0 +1 @@
|
||||
../../../../tools/build-docker-image
|
1
docker/ubuntu/binary/rabbitmq/config-external.sh
Symbolic link
1
docker/ubuntu/binary/rabbitmq/config-external.sh
Symbolic link
@ -0,0 +1 @@
|
||||
../../../common/rabbitmq/config-external.sh
|
1
docker/ubuntu/binary/rabbitmq/config-internal.sh
Symbolic link
1
docker/ubuntu/binary/rabbitmq/config-internal.sh
Symbolic link
@ -0,0 +1 @@
|
||||
../../../common/rabbitmq/config-internal.sh
|
1
docker/ubuntu/binary/rabbitmq/config-rabbit.sh
Symbolic link
1
docker/ubuntu/binary/rabbitmq/config-rabbit.sh
Symbolic link
@ -0,0 +1 @@
|
||||
../../../common/rabbitmq/config-rabbit.sh
|
1
docker/ubuntu/binary/rabbitmq/rabbitmq-env.conf
Symbolic link
1
docker/ubuntu/binary/rabbitmq/rabbitmq-env.conf
Symbolic link
@ -0,0 +1 @@
|
||||
../../../common/rabbitmq/rabbitmq-env.conf
|
1
docker/ubuntu/binary/rabbitmq/rabbitmq.config
Symbolic link
1
docker/ubuntu/binary/rabbitmq/rabbitmq.config
Symbolic link
@ -0,0 +1 @@
|
||||
../../../common/rabbitmq/rabbitmq.config
|
1
docker/ubuntu/binary/rabbitmq/start.sh
Symbolic link
1
docker/ubuntu/binary/rabbitmq/start.sh
Symbolic link
@ -0,0 +1 @@
|
||||
../../../common/rabbitmq/start.sh
|
Loading…
x
Reference in New Issue
Block a user