forked from idaholab/Malcolm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
idaholab#298, bump opensearch to v2.11.1
- Loading branch information
Showing
2 changed files
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM opensearchproject/opensearch-dashboards:2.8.0 | ||
FROM opensearchproject/opensearch-dashboards:2.11.1 | ||
|
||
LABEL maintainer="[email protected]" | ||
LABEL org.opencontainers.image.authors='[email protected]' | ||
|
@@ -20,7 +20,7 @@ ENV PUSER_PRIV_DROP true | |
ENV TERM xterm | ||
|
||
ENV TINI_VERSION v0.19.0 | ||
ENV OSD_TRANSFORM_VIS_VERSION 2.8.0 | ||
ENV OSD_TRANSFORM_VIS_VERSION 2.11.0 | ||
|
||
ARG OPENSEARCH_URL="http://opensearch:9200" | ||
ARG OPENSEARCH_PRIMARY="opensearch-local" | ||
|
@@ -46,16 +46,16 @@ ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /usr/ | |
ADD https://github.com/lguillaud/osd_transform_vis/releases/download/$OSD_TRANSFORM_VIS_VERSION/transformVis-$OSD_TRANSFORM_VIS_VERSION.zip /tmp/transformVis.zip | ||
|
||
RUN yum upgrade -y && \ | ||
yum install -y curl psmisc util-linux openssl rsync python3 zip unzip && \ | ||
yum install -y curl-minimal psmisc findutils util-linux openssl rsync python3 zip unzip && \ | ||
yum remove -y vim-* && \ | ||
usermod -a -G tty ${PUSER} && \ | ||
# Malcolm manages authentication and encryption via NGINX reverse proxy | ||
/usr/share/opensearch-dashboards/bin/opensearch-dashboards-plugin remove securityDashboards --allow-root && \ | ||
cd /tmp && \ | ||
# unzip transformVis.zip opensearch-dashboards/transformVis/opensearch_dashboards.json opensearch-dashboards/transformVis/package.json && \ | ||
# sed -i "s/2\.9\.0/2\.9\.0/g" opensearch-dashboards/transformVis/opensearch_dashboards.json && \ | ||
# sed -i "s/2\.9\.0/2\.9\.0/g" opensearch-dashboards/transformVis/package.json && \ | ||
# zip transformVis.zip opensearch-dashboards/transformVis/opensearch_dashboards.json opensearch-dashboards/transformVis/package.json && \ | ||
unzip transformVis.zip opensearch-dashboards/transformVis/opensearch_dashboards.json opensearch-dashboards/transformVis/package.json && \ | ||
sed -i "s/2\.11\.0/2\.11\.1/g" opensearch-dashboards/transformVis/opensearch_dashboards.json && \ | ||
sed -i "s/2\.11\.0/2\.11\.1/g" opensearch-dashboards/transformVis/package.json && \ | ||
zip transformVis.zip opensearch-dashboards/transformVis/opensearch_dashboards.json opensearch-dashboards/transformVis/package.json && \ | ||
cd /usr/share/opensearch-dashboards/plugins && \ | ||
/usr/share/opensearch-dashboards/bin/opensearch-dashboards-plugin install file:///tmp/transformVis.zip --allow-root && \ | ||
rm -rf /tmp/transformVis /tmp/opensearch-dashboards && \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM opensearchproject/opensearch:2.8.0 | ||
FROM opensearchproject/opensearch:2.11.1 | ||
|
||
# Copyright (c) 2023 Battelle Energy Alliance, LLC. All rights reserved. | ||
LABEL maintainer="[email protected]" | ||
|
@@ -43,7 +43,7 @@ ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /usr/ | |
# Remove the opensearch-security plugin - Malcolm manages authentication and encryption via NGINX reverse proxy | ||
# Remove the performance-analyzer plugin - Reduce resources in docker image | ||
RUN yum upgrade -y && \ | ||
yum install -y openssl util-linux procps rsync && \ | ||
yum install -y openssl util-linux procps rsync findutils && \ | ||
yum remove -y vim-* && \ | ||
/usr/share/opensearch/bin/opensearch-plugin remove opensearch-security --purge && \ | ||
/usr/share/opensearch/bin/opensearch-plugin remove opensearch-performance-analyzer --purge && \ | ||
|