
The previous method of using the API image for a data container worked, but resulted in more data being bindmounted and copied into the system. This patch resolves that by essentially using a distro-type as a FROM in a Dockerfile to generate distro-type-data. Further all of the data containers used throughout ansible are modified to use this new data container. Change-Id: I8846573d4f2d4b98d4f46c770bfefc6d4c5cd0b5 Partially-Implements: blueprint one-data-container
15 lines
388 B
Docker
15 lines
388 B
Docker
FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%base:%%KOLLA_TAG%%
|
|
MAINTAINER Kolla Project (https://launchpad.net/kolla)
|
|
|
|
RUN yum -y install \
|
|
hostname \
|
|
rabbitmq-server && \
|
|
yum clean all && \
|
|
/usr/lib/rabbitmq/bin/rabbitmq-plugins enable rabbitmq_management \
|
|
&& rm -rf /var/lib/rabbitmq/*
|
|
|
|
COPY config-rabbit.sh config-external.sh /opt/kolla/
|
|
COPY start.sh /
|
|
|
|
CMD ["/start.sh"]
|