pires / docker-elasticsearch

Dockerfile for a base Elasticsearch image to be extended by others (allow to install plug-ins, change configuration, etc.)
Apache License 2.0
161 stars 173 forks source link

ES_PLUGINS_INSTALL doesn't work #54

Closed vistalba closed 6 years ago

vistalba commented 6 years ago

Hi

In my kubernetes deployment I specified:

- name: "ES_PLUGINS_INSTALL" value: "ingest-attachment"

It does not work and run without installed plugin. As I with my limited know how can see is in run script:

if [ ! -z "${ES_PLUGINS_INSTALL}" ]; then OLDIFS=$IFS IFS=',' for plugin in ${ES_PLUGINS_INSTALL}; do if ! $BASE/bin/elasticsearch-plugin list | grep -qs ${plugin}; then yes | $BASE/bin/elasticsearch-plugin install --batch ${plugin} fi done IFS=$OLDIFS fi

There is no file '/elasticsearch/bin/elasticsearch-plugin' in the container.

Maybe this is a bug or how should i specify the plugin name?

pires commented 6 years ago

I need logs

vistalba commented 6 years ago

@pires

ou.. my fault! I used a 2 year old tag .... :( Don't care about this.

pires commented 6 years ago

Sweet!