Thanks, solution works well because you don't have to create a separate Dockerfile. I'm using ES 6.5.3 inside of Docker. Here is how I had to set my docker-entrypoint-es-plugins.sh:
bin/elasticsearch-plugin install repository-s3
exec /usr/local/bin/docker-entrypoint.sh elasticsearch
Thanks, solution works well because you don't have to create a separate Dockerfile. I'm using ES 6.5.3 inside of Docker. Here is how I had to set my docker-entrypoint-es-plugins.sh:
!/bin/bash
setting up prerequisites
bin/elasticsearch-plugin install repository-s3
exec /usr/local/bin/docker-entrypoint.sh elasticsearch