Merge "Add Dockerfile template for Ceilometer"

This commit is contained in:
Jenkins 2015-08-15 01:51:27 +00:00 committed by Gerrit Code Review
commit 71918cca5e
26 changed files with 141 additions and 0 deletions

View File

@ -0,0 +1,16 @@
FROM {{ namespace }}/{{ base_distro }}-{{ install_type }}-ceilometer-base:{{ tag }}
MAINTAINER Kolla Project (https://launchpad.net/kolla)
{% if install_type == 'binary' %}
{% if base_distro in ['fedora', 'centos', 'oraclelinux'] %}
RUN yum install -y openstack-ceilometer-alarm \
&& yum clean all
{% endif %}
{% endif %}
COPY ./start.sh /
COPY config-external.sh /opt/kolla/
CMD ["/start.sh"]

View File

@ -0,0 +1 @@
../../../tools/build-docker-image

View File

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

View File

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

View File

@ -0,0 +1,16 @@
FROM {{ namespace }}/{{ base_distro }}-{{ install_type }}-ceilometer-base:{{ tag }}
MAINTAINER Kolla Project (https://launchpad.net/kolla)
{% if install_type == 'binary' %}
{% if base_distro in ['fedora', 'centos', 'oraclelinux'] %}
RUN yum install -y openstack-ceilometer-api \
&& yum clean all
{% endif %}
{% endif %}
COPY ./start.sh /
COPY config-external.sh /opt/kolla/
CMD ["/start.sh"]

View File

@ -0,0 +1 @@
../../../tools/build-docker-image

View File

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

View File

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

View File

@ -0,0 +1,24 @@
FROM {{ namespace }}/{{ base_distro }}-{{ install_type }}-base:{{ tag }}
MAINTAINER Kolla Project (https://launchpad.net/kolla)
{% if install_type == 'binary' %}
{% if base_distro in ['ubuntu', 'debian'] %}
RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
&& /bin/false
{% endif %}
{% elif install_type == 'source' %}
ADD ./ceilometer.tar /
RUN ln -s /ceilometer-* /ceilometer
RUN cd /ceilometer \
&& useradd --user-group ceilometer \
&& pip install -r requirements.txt \
&& pip install /ceilometer \
&& mkdir /etc/ceilometer /var/log/ceilometer \
&& cp -r /ceilometer/etc/* /etc/ceilometer/ \
&& rm -rf /root/.cache
{% endif %}

View File

@ -0,0 +1 @@
../../../tools/build-docker-image

View File

@ -0,0 +1,16 @@
FROM {{ namespace }}/{{ base_distro }}-{{ install_type }}-ceilometer-base:{{ tag }}
MAINTAINER Kolla Project (https://launchpad.net/kolla)
{% if install_type == 'binary' %}
{% if base_distro in ['fedora', 'centos', 'oraclelinux'] %}
RUN yum install -y openstack-ceilometer-central \
&& yum clean all
{% endif %}
{% endif %}
COPY ./start.sh /
COPY config-external.sh /opt/kolla/
CMD ["/start.sh"]

View File

@ -0,0 +1 @@
../../../tools/build-docker-image

View File

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

View File

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

View File

@ -0,0 +1,16 @@
FROM {{ namespace }}/{{ base_distro }}-{{ install_type }}-ceilometer-base:{{ tag }}
MAINTAINER Kolla Project (https://launchpad.net/kolla)
{% if install_type == 'binary' %}
{% if base_distro in ['fedora', 'centos', 'oraclelinux'] %}
RUN yum install -y openstack-ceilometer-collector \
&& yum clean all
{% endif %}
{% endif %}
COPY ./start.sh /
COPY config-external.sh /opt/kolla/
CMD ["/start.sh"]

View File

@ -0,0 +1 @@
../../../tools/build-docker-image

View File

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

View File

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

View File

@ -0,0 +1,18 @@
FROM {{ namespace }}/{{ base_distro }}-{{ install_type }}-ceilometer-base:{{ tag }}
MAINTAINER Kolla Project (https://launchpad.net/kolla)
{% if install_type == 'binary' %}
{% if base_distro in ['fedora', 'centos', 'oraclelinux'] %}
RUN yum install -y openstack-ceilometer-compute \
python-ceilometerclient \
python-pecan \
&& yum clean all
{% endif %}
{% endif %}
COPY ./start.sh /
COPY config-external.sh /opt/kolla/
CMD ["/start.sh"]

View File

@ -0,0 +1 @@
../../../tools/build-docker-image

View File

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

View File

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

View File

@ -0,0 +1,16 @@
FROM {{ namespace }}/{{ base_distro }}-{{ install_type }}-ceilometer-base:{{ tag }}
MAINTAINER Kolla Project (https://launchpad.net/kolla)
{% if install_type == 'binary' %}
{% if base_distro in ['fedora', 'centos', 'oraclelinux'] %}
RUN yum install -y openstack-ceilometer-notification \
&& yum clean all
{% endif %}
{% endif %}
COPY ./start.sh /
COPY config-external.sh /opt/kolla/
CMD ["/start.sh"]

View File

@ -0,0 +1 @@
../../../tools/build-docker-image

View File

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

View File

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