This repository contains the official APM Server Docker image from Elastic.
A full build requires:
- Docker
- GNU Make
- Python 3.3+ (3.5+ for tests)
The images have been tested on Docker 17.03.1-ce
To build an image with a released version of APM Server, check out the corresponding branch for the version and run Make while specifying the exact version desired. Like this:
git checkout 6.3
ELASTIC_VERSION=6.3.1 make
To build an image with the latest nightly snapshot of APM Server, run:
make from-snapshot
Acceptance tests for the image are located in the test
directory,
and can be invoked with make test
. Python 3.5 is required to run the
tests. They are based on the
excellent testinfra,
which is itself based on
the wonderful pytest.
apm-server-docker
is developed under a test-driven
workflow, so please refrain from submitting patches without test
coverage. If you are not familiar with testing in Python, please
raise an issue instead.
The images are built on CentOS 7.