diff --git a/elasticsearch/Dockerfile b/elasticsearch/Dockerfile new file mode 100644 index 0000000..313b3d9 --- /dev/null +++ b/elasticsearch/Dockerfile @@ -0,0 +1,8 @@ +FROM elasticsearch:7.16.1 + +RUN bin/elasticsearch-plugin install --batch \ + analysis-icu \ + analysis-kuromoji \ + ingest-attachment \ + repository-s3 \ + https://github.com/medcl/elasticsearch-analysis-ik/releases/download/v7.16.1/elasticsearch-analysis-ik-7.16.1.zip diff --git a/elasticsearch/Makefile b/elasticsearch/Makefile new file mode 100644 index 0000000..e5aae2a --- /dev/null +++ b/elasticsearch/Makefile @@ -0,0 +1,5 @@ +VERSION := $(shell cat version.txt) + +build: + docker build -t rophy/elasticsearch:$(VERSION) . + diff --git a/elasticsearch/version.txt b/elasticsearch/version.txt new file mode 100644 index 0000000..eb35697 --- /dev/null +++ b/elasticsearch/version.txt @@ -0,0 +1 @@ +7.16.1-20240202-r1 \ No newline at end of file