Skip to content
Snippets Groups Projects
Commit c6d36c68 authored by Swapnil Kulkarni's avatar Swapnil Kulkarni
Browse files

Add Dockerfile template for Ceilometer

Change-Id: Id17f467235d70127ce92bab52a08b97a062ea207
Partially-Implements: blueprint dockerfile-template
parent a0a859ac
No related branches found
No related tags found
No related merge requests found
Showing
with 120 additions and 0 deletions
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"]
../../../tools/build-docker-image
\ No newline at end of file
../../../docker/common/ceilometer/ceilometer-alarm/config-external.sh
\ No newline at end of file
../../../docker/common/ceilometer/ceilometer-alarm/start.sh
\ No newline at end of file
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"]
../../../tools/build-docker-image
\ No newline at end of file
../../../docker/common/ceilometer/ceilometer-api/config-external.sh
\ No newline at end of file
../../../docker/common/ceilometer/ceilometer-api/start.sh
\ No newline at end of file
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 %}
../../../tools/build-docker-image
\ No newline at end of file
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"]
../../../tools/build-docker-image
\ No newline at end of file
../../../docker/common/ceilometer/ceilometer-central/config-external.sh
\ No newline at end of file
../../../docker/common/ceilometer/ceilometer-central/start.sh
\ No newline at end of file
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"]
../../../tools/build-docker-image
\ No newline at end of file
../../../docker/common/ceilometer/ceilometer-collector/config-external.sh
\ No newline at end of file
../../../docker/common/ceilometer/ceilometer-collector/start.sh
\ No newline at end of file
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"]
../../../tools/build-docker-image
\ 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