Skip to content

Instantly share code, notes, and snippets.

@orlea
Created July 28, 2020 07:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save orlea/9c2ee40197076dc278dbf5ea6ef93b51 to your computer and use it in GitHub Desktop.
Save orlea/9c2ee40197076dc278dbf5ea6ef93b51 to your computer and use it in GitHub Desktop.
es-sudachi-core
ARG ELASTIC_VER=6.8.10
ARG SUDACHI_PLUGIN_VER=2.0.2
FROM docker.elastic.co/elasticsearch/elasticsearch:${ELASTIC_VER}
ARG ELASTIC_VER
ARG SUDACHI_PLUGIN_VER
RUN curl -OL https://object-storage.tyo2.conoha.io/v1/nc_2520839e1f9641b08211a5c85243124a/sudachi/sudachi-dictionary-latest-core.zip && \
unzip -o -d config/sudachi -j 'sudachi-dictionary*.zip' && \
rm -f sudachi-dictionary*.zip && \
bin/elasticsearch-plugin install https://github.com/WorksApplications/elasticsearch-sudachi/releases/download/v${ELASTIC_VER}-${SUDACHI_PLUGIN_VER}/analysis-sudachi-${ELASTIC_VER}-${SUDACHI_PLUGIN_VER}.zip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment