Build kibana from source to a docker image with custom plugins
ATTENTION: This works only on linux machines becasue of kibana-docker.
- make the build env this hardly changes so we will reuse it
sudo make HUQ_DOCKER_REGISTRY_ORG=quay.io/huqindustries build-env
or
docker pull quay.io/huqindustries/kibana:build-env
- Build the artifact form source
sudo make HUQ_DOCKER_REGISTRY_ORG=quay.io/huqindustries ELASTIC_VERSION=6.2.3 KIBANA_TAG=huq HUQ_KIBANA_BRANCH=... artifacts
This will pull down kibana repo, check out the HUQ_KIBANA_BRANCH
and build it.
- Build the docker image
sudo make HUQ_DOCKER_REGISTRY_ORG=quay.io/huqindustries ELASTIC_VERSION=6.2.3 KIBANA_TAG=huq base-image
- Install plugins
sudo make HUQ_DOCKER_REGISTRY_ORG=quay.io/huqindustries ELASTIC_VERSION=6.2.3 KIBANA_TAG=huq install-plugin