This repository contains the official Elasticsearch Docker image from Elastic.
Documentation can be found on the Elastic web site.
Make sure you have read all the instructions properly, just "skimming through" will not help you.
The images have been tested on Docker 17.03.1-ce.
A full build and test requires:
- Docker
- GNU Make
- Python 3.5 with Virtualenv
- install all requirements in requirements.txt with pip3
To build an image with the latest nightly snapshot of Elasticsearch, run:
make from-snapshot
To build and push an image with a released version of Elasticsearch, check out the corresponding branch for the version, and run Make while specifying the exact version desired. Like this:
(git checkout 6.4.2-M1)
ELASTIC_VERSION=6.4.2 IMAGE_FLAVORS=platinum ELASTIC_REGISTRY=dckr.skryv.com make build
Newer build scripts do not work. This build script download the correct artifacts.
Acceptance tests for the image are located in the test directory, and can be invoked with make test
.
This image is built on CentOS 7.