-
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.
Merge pull request #13 from victorjourne/fix/build-with-proxy
Fix/build with proxy
- Loading branch information
Showing
6 changed files
with
36 additions
and
6 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
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,4 +1,24 @@ | ||
ARG ES_VERSION | ||
|
||
FROM docker.elastic.co/elasticsearch/elasticsearch:${ES_VERSION} | ||
|
||
ADD elasticsearch.yml /usr/share/elasticsearch/config | ||
RUN bin/elasticsearch-plugin install analysis-icu | ||
|
||
### Plugins ### | ||
# Cannot work with our proxy.... | ||
#RUN bin/elasticsearch-plugin install --verbose analysis-icu | ||
|
||
# Download from zip | ||
RUN yum install wget -y | ||
|
||
# /analysis-icu | ||
ARG ES_VERSION | ||
RUN wget "https://artifacts.elastic.co/downloads/elasticsearch-plugins/analysis-icu/analysis-icu-${ES_VERSION}.zip" | ||
RUN mkdir -p plugins/analysis-icu | ||
RUN unzip -d plugins/analysis-icu analysis-icu-${ES_VERSION}.zip | ||
|
||
# /analysis-phonetic | ||
ARG ES_VERSION | ||
RUN wget "https://artifacts.elastic.co/downloads/elasticsearch-plugins/analysis-phonetic/analysis-phonetic-${ES_VERSION}.zip" | ||
RUN mkdir -p plugins/analysis-phonetic | ||
RUN unzip -d plugins/analysis-phonetic analysis-phonetic-${ES_VERSION}.zip |
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