Provides a dockerfile and supporting scripts to generate images containing Elasticsearch v5.4. The image build step uses distil-ingest to build a distil-ready index from source data; this index is saved as part of the image, allowing for generation of drop-in test container that can be run locally.
- Go version 1.6+ with the
GOPATH
environment variable specified and$GOPATH/bin
in yourPATH
. - Docker platform.
- Edit
./server/config.sh
:- Ensure the docker image name and version are specified:
DOCKER_IMAGE_NAME
DOCKER_IMAGE_VERSION
- Ensure the data path, and datasets are specified and data stored under those paths:
DATASETS
HOST_DATA_DIR
- Ensure the docker image name and version are specified:
- Run
./build.sh
to build the image.
A container based on the image can be deployed using the provided ./run.sh
script, or a command based on the contents of that script.