Docker Failed Install Puglin Kuromoji In 7.17.25

Hello, friends.

I was editing official Dockerfile 7.17.25 distributed on Github for develop a custom elasticsearch image.
(Office Dockerfile URL : dockerfiles/elasticsearch/Dockerfile at 9a2cb64607abe3574f8f1d0fa8b9680798f0e6d9 · elastic/dockerfiles · GitHub )
Everything was ok unitil i added some code for install kuromoji plugin.
I added some code on the last of the official dockerfile (before CMD of course):

RUN wget https://artifacts.elastic.co/downloads/elasticsearch-plugins/analysis-kuromoji/analysis-kuromoji-7.17.25.zip -O kuromoji.zip &&
bin/elasticsearch-plugin install kuromoji.zip

And got a error like this

-> Installing kuromoji
-> Failed installing kuromoji
-> Rolling back kuromoji
-> Rolled back kuromoji
A tool for managing installed elasticsearch plugins

Non-option arguments:
command

Option Description


-E Configure a setting
-h, --help Show help
-s, --silent Show minimal output
-v, --verbose Show verbose output

ERROR: Unknown plugin kuromoji

Any suggestion for this ? Thanks in advance :smiley: