Advertisement
Guest User

Kolla gnocchi deploy fix (rocky) - Dockerfile-gnocchi_api

a guest
Jul 11th, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.72 KB | None | 0 0
  1. --- /opt/kolla/docker/gnocchi/gnocchi-api/Dockerfile.j2 2019-06-12 06:11:22.531704186 +0000
  2. +++ /usr/local/share/kolla/docker/gnocchi/gnocchi-api/Dockerfile.j2     2019-07-11 03:46:33.592855210 +0000
  3. @@ -17,8 +17,15 @@
  4.  {{ macros.install_packages(gnocchi_api_packages | customizable("packages")) }}
  5.  {% endif %}
  6.  
  7. +{% if install_type == 'binary' %}
  8. +    {% if base_distro in ['ubuntu'] %}
  9. +RUN rm -rf /etc/apache2/sites-enabled/gnocchi-api.conf /etc/apache2/sites-available/gnocchi-api.conf
  10. +    {% endif %}
  11. +{% endif %}
  12. +
  13.  COPY extend_start.sh /usr/local/bin/kolla_gnocchi_extend_start
  14.  RUN chmod 755 /usr/local/bin/kolla_gnocchi_extend_start
  15.  
  16. +
  17.  {% block gnocchi_api_footer %}{% endblock %}
  18.  {% block footer %}{% endblock %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement