
The EXPOSE options will create a local docker-proxy. This is unnecessary with --net=host mode. The docker-proxy adds about 20 microseconds of latency. Add documentation to the specification to indicate where to find the ports that are exposed by the services in case someone were to desire to add EXPOSE back to the Dockerfiles. Change-Id: I398e922fe096d6022a2d5985bb92498f89a5ea31
16 lines
770 B
Docker
16 lines
770 B
Docker
FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%base
|
|
MAINTAINER Kolla Project (https://launchpad.net/kolla)
|
|
|
|
RUN curl -O https://repos.fedorapeople.org/repos/openstack/openstack-juno/fedora-21/openstack-zaqar-2014.2-1.fc22.noarch.rpm
|
|
RUN curl -O https://repos.fedorapeople.org/repos/openstack/openstack-juno/fedora-21/python-oslo-utils-0.3.0-1.fc22.noarch.rpm
|
|
RUN curl -O https://repos.fedorapeople.org/repos/openstack/openstack-juno/fedora-21/python-keystonemiddleware-1.2.0-1.fc22.noarch.rpm
|
|
RUN yum -y localinstall python-oslo-utils-0.3.0-1.fc22.noarch.rpm \
|
|
python-keystonemiddleware-1.2.0-1.fc22.noarch.rpm \
|
|
openstack-zaqar-2014.2-1.fc22.noarch.rpm \
|
|
&& yum clean all
|
|
|
|
ADD ./start.sh /start.sh
|
|
ADD ./check.sh /check.sh
|
|
|
|
CMD ["/start.sh"]
|