Customizations for Watcher

This patchset contains customization of Dockerfile of Watcher
containers

Change-Id: I4d3f2af3e1d622b94d20f3d1f48a972afcff81b8
Partially-implements: blueprint third-party-plugin-support
Signed-off-by: Eduardo Gonzalez <dabarren@gmail.com>
This commit is contained in:
Eduardo Gonzalez 2016-08-06 11:16:34 +02:00
parent d692e4b6f9
commit b9a2839da8
4 changed files with 10 additions and 0 deletions

View File

@ -11,6 +11,8 @@ RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
COPY extend_start.sh /usr/local/bin/kolla_watcher_extend_start COPY extend_start.sh /usr/local/bin/kolla_watcher_extend_start
RUN chmod 755 /usr/local/bin/kolla_watcher_extend_start RUN chmod 755 /usr/local/bin/kolla_watcher_extend_start
{% block watcher_api_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }} {{ include_footer }}
USER watcher USER watcher

View File

@ -8,6 +8,8 @@ RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
{% endif %} {% endif %}
{% block watcher_applier_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }} {{ include_footer }}
USER watcher USER watcher

View File

@ -25,3 +25,7 @@ COPY extend_start.sh /usr/local/bin/kolla_extend_start
RUN usermod -a -G kolla watcher \ RUN usermod -a -G kolla watcher \
&& touch /usr/local/bin/kolla_watcher_extend_start \ && touch /usr/local/bin/kolla_watcher_extend_start \
&& chmod 755 /usr/local/bin/kolla_extend_start /usr/local/bin/kolla_watcher_extend_start && chmod 755 /usr/local/bin/kolla_extend_start /usr/local/bin/kolla_watcher_extend_start
{% block watcher_base_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}

View File

@ -8,6 +8,8 @@ RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
{% endif %} {% endif %}
{% block watcher_engine_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }} {{ include_footer }}
USER watcher USER watcher