Merge "Add Dockerfile template for haproxy"

This commit is contained in:
Jenkins 2015-08-13 04:09:07 +00:00 committed by Gerrit Code Review
commit d95685ebe8
4 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,20 @@
FROM {{ namespace }}/{{ base_distro }}-{{ install_type }}-base:{{ tag }}
MAINTAINER Kolla Project (https://launchpad.net/kolla)
{% if base_distro in ['fedora', 'centos', 'oraclelinux'] %}
RUN yum -y install \
haproxy \
&& yum clean all
{% elif base_distro in ['ubuntu', 'debian'] %}
RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
&& /bin/false
{% endif %}
COPY start.sh /
COPY config-external.sh ensure_latest_config.sh /opt/kolla/
CMD ["/start.sh"]

View File

@ -0,0 +1 @@
../../docker/common/haproxy/config-external.sh

View File

@ -0,0 +1 @@
../../docker/common/haproxy/ensure_latest_config.sh

View File

@ -0,0 +1 @@
../../docker/common/haproxy/start.sh