-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature: dotenv support - allow to change the used OpenSearch version…
… (ddev 1.23.5) (#7) Co-authored-by: Christian Münch <[email protected]> Co-authored-by: Stanislav Zhuk <[email protected]>
- Loading branch information
1 parent
e856a27
commit 8925265
Showing
4 changed files
with
56 additions
and
11 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
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
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,6 +1,13 @@ | ||
#ddev-generated | ||
FROM opensearchproject/opensearch:latest | ||
ARG OPENSEARCH_TAG=latest | ||
|
||
FROM opensearchproject/opensearch:${OPENSEARCH_TAG} | ||
|
||
ARG INSTALL_PLUGIN_ANALYSIS_PHONETIC=true | ||
ARG INSTALL_PLUGIN_ANALYSIS_ICU=true | ||
|
||
WORKDIR /usr/share/opensearch | ||
|
||
RUN bin/opensearch-plugin install analysis-phonetic | ||
RUN bin/opensearch-plugin install analysis-icu | ||
|
||
# Install plugins | ||
RUN if [ "${INSTALL_PLUGIN_ANALYSIS_PHONETIC}" = "true" ]; then bin/opensearch-plugin install analysis-phonetic; fi | ||
RUN if [ "${INSTALL_PLUGIN_ANALYSIS_ICU}" = "true" ]; then bin/opensearch-plugin install analysis-icu; fi |
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