Try to build ES with x-pack bypass

Quickstart

git clone https://github.com/scila1996/es-rebuild.git
docker build --build-arg es_version=7.15.2 .

Build from Server/VM

Just run and specify version to es_version environment variable

chmod +x build.sh
es_version=7.15.2 ./build.sh 

Build from Docker image

Set es_version argument to version of docker image tag from bitnami. See here https://www.docker.elastic.co/r/elasticsearch

docker build --build-arg es_version=7.15.2 .

Notes

  • Use for image from elastic.co
  • Do not use in production