nshou / elasticsearch-kibana

Simple and lightweight docker image for previewing Elasticsearch and Kibana.
https://hub.docker.com/r/nshou/elasticsearch-kibana
MIT License
46 stars 24 forks source link

tweak: Update `Dockerfile` to silence Java warning #18

Closed txj-xyz closed 2 years ago

txj-xyz commented 2 years ago

Simple merge, this tweak just silences the warning from Elasticsearch mentioning it's missing an optional environment variable describing Java's home location.

txj-xyz commented 2 years ago

This passes my testing in a production environment.

nshou commented 2 years ago

Looks good. The base image 'openjdk' comes with the JAVA_HOME that is set to /usr/local/openjdk-11. Now we have ES_JAVA_HOME and both are pointing to the same location.