Bitbucket pipelines does not allow you to use dot notation in variables. So I created my own elastic search docker image to include the discovery type.
docker build -t elasticsearch-bitbucket-pipelines .
When you commit to the bitbucket repo it will then trigger the image to be rebuilt on dockerhub.
Run the container locally after building.
docker run -i -t -P elasticsearch-bitbucket-pipelines:latest /lib/systemd/systemd
Content type
Image
Digest
Size
404.4 MB
Last updated
over 5 years ago
docker pull mappuji/elasticsearch-bitbucket