Image with nodejs and Elasticsearch installed, intended to be used in bitbucket pipelines
256
This image offers an environment with nodejs and Elasticsearch installed. It's intended to be used as a base image in bitbucket pipelines.
Example bitbucket-pipelines.yml:
image: mondora/nodejs-elasticsearch
pipelines:
default:
- step:
script:
# Start elasticsearch
- start-elasticsearch.sh
# Install project dependencies
- npm install
# Lint source code
- npm run lint
# Run tests and calculate code coverage
- npm run coverage
Note: Elasticsearch may take some seconds to boot and start accepting
requests. It may be necessary to sleep 10 after start-elasticsearch.sh.
Content type
Image
Digest
Size
472.6 MB
Last updated
over 9 years ago
docker pull mondora/nodejs-elasticsearch:node7-elasticsearch5.1.2