A slightly terrifying requirement for developers of Kibana plugins is that they have to re-build their plugin for every Elasticsearch/Kibana release. Here’s the note from the Kibana Plugins page.
There are several files which need ot be changed before starting the build.
# https://github.com/elastic/kibana-docker
FROM docker.elastic.co/kibana/kibana:5.4.0
Now that all of the files are changed we can work on getting our environment ready for building the plugin.