Sign inSign up

mondora/nodejs-elasticsearch

By mondora

Updated over 9 years ago

Image with nodejs and Elasticsearch installed, intended to be used in bitbucket pipelines

Image
0

256

mondora/nodejs-elasticsearch repository overview

nodejs-elasticsearch-docker-image

This image offers an environment with nodejs and Elasticsearch installed. It's intended to be used as a base image in bitbucket pipelines.

Usage

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.

Tag summary

Content type

Image

Digest

Size

472.6 MB

Last updated

over 9 years ago

docker pull mondora/nodejs-elasticsearch:node7-elasticsearch5.1.2