Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
rwlxxvii authored Dec 4, 2023
1 parent 1975564 commit 8237ff8
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions data/opensearch/dashboards/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@ ARG DASHBOARDS_VERSION
FROM docker.io/opensearchproject/opensearch-dashboards:${DASHBOARDS_VERSION}

RUN \
/usr/share/opensearch/bin/opensearch-plugin install --batch opensearch-alerting; \
/usr/share/opensearch/bin/opensearch-plugin install --batch opensearch-anomaly-detection; \
/usr/share/opensearch/bin/opensearch-plugin install --batch opensearch-asynchronous-search; \
/usr/share/opensearch/bin/opensearch-plugin install --batch opensearch-geospatial; \
/usr/share/opensearch/bin/opensearch-plugin install --batch opensearch-index-management; \
/usr/share/opensearch/bin/opensearch-plugin install --batch opensearch-job-scheduler; \
/usr/share/opensearch/bin/opensearch-plugin install --batch opensearch-ml; \
/usr/share/opensearch/bin/opensearch-plugin install --batch opensearch-performance-analyzer; \
/usr/share/opensearch/bin/opensearch-plugin install --batch opensearch-security; \
/usr/share/opensearch/bin/opensearch-plugin install --batch opensearch-reports-scheduler
declare -a PLUGIN=( \
"alerting-dashboards-plugin" \
"anomaly-detection-dashboards-plugin" \
"dashboards-search-relevance" \
"index-management-dashboards-plugin" \
"dashboards-notifications" \
"dashboards-observability" \
"query-workbench" \
"dashboards-reporting" \
"security-analytics-dashboards-plugin" \
"security-dashboards-plugin"); \
for ((i=0; i<${#PLUGIN[@]}; i++)); do /usr/share/opensearch/bin/opensearch-plugin install ${PLUGIN[$i]} done

0 comments on commit 8237ff8

Please sign in to comment.