Skip to content
Snippets Groups Projects
Commit 08b31dcc authored by weiyu's avatar weiyu
Browse files

Add Dockerfile template for haproxy

Change-Id: If269a483a1f2a9fd1258fdcb90b139d137037dfd
Partially-Implements: blueprint dockerfile-template
parent 671014e7
No related branches found
No related tags found
No related merge requests found
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"]
../../docker/common/haproxy/config-external.sh
\ No newline at end of file
../../docker/common/haproxy/ensure_latest_config.sh
\ No newline at end of file
../../docker/common/haproxy/start.sh
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment