Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

Docker image base for continuous integration with NodeJs

This is a docker image example to work with NodeJS and Git and implement a continuous integration.

Images content

Image base

debian:latest

Packages installed

  • curl
  • NodeJS
  • build-essential
  • git
  • emacs23-nox

Other action

Copy pre-commit file in /usr/share/git-core/templates/hooks/

Explanation

Make a sub docker image that will initiate your project and doing a git init.
The git init get the pre-commit file in his templates/hooks and put it in your project's directory.

Now when you commit it'll execute pre-commit file which execute your tests before commit.
If tests failed then commit fail too.

Docker access

ajouan/nodejs_base

See also

Git Hooks
ajouan/node_js_continuous_integration
packages.json
Docs Dockerfile

Docker Pull Command
Owner
ajouan
Source Repository