kolla/docker/opensearch/opensearch-dashboards/Dockerfile.j2
Michal Nasiadka 340350a387 Revert "CI/Master only: pin opensearch{-dashboards}"
This reverts commit 19a004e0a5.

Reason for revert: Fixed

Change-Id: I5491adef46fe0cec013a597cb05018d8d7e862f0
2024-04-16 18:33:55 +00:00

26 lines
914 B
Django/Jinja

FROM {{ namespace }}/{{ image_prefix }}base:{{ tag }}
{% block labels %}
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
{% endblock %}
{% block opensearch_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{{ macros.configure_user(name='opensearch-dashboards', shell='/bin/bash', homedir='/usr/share/opensearch-dashboards') }}
{{ macros.enable_extra_repos(['opensearch-dashboards']) }}
{% set opensearch_dashboards_packages = ['opensearch-dashboards'] %}
{{ macros.install_packages(opensearch_dashboards_packages | customizable("packages")) }}
RUN chown -R opensearch-dashboards:opensearch-dashboards /usr/share/opensearch-dashboards
COPY extend_start.sh /usr/local/bin/kolla_extend_start
RUN chmod 755 /usr/local/bin/kolla_extend_start
{% block opensearch_footer %}{% endblock %}
{% block footer %}{% endblock %}
USER opensearch-dashboards