Go to file
2017-03-11 14:53:43 +01:00
node_modules fix tests 2017-03-11 14:53:41 +01:00
test fix tests 2017-03-11 14:53:41 +01:00
.gitignore added initial config 2016-02-24 20:57:17 +01:00
.gitlab-ci.yml improve tests 2017-02-18 23:01:07 +01:00
Dockerfile update 2017-03-11 14:29:10 +01:00
Dockerfile_lts switch to stable for default 2016-07-18 03:57:23 +02:00
Dockerfile_mongo update 2017-03-11 14:29:10 +01:00
Dockerfile_npmci update 2017-03-11 14:29:10 +01:00
Dockerfile_stable update 2017-03-11 14:29:10 +01:00
LICENSE Initial commit 2016-02-19 09:52:32 +01:00
package.json 4.3.12 2017-03-11 14:53:43 +01:00
README.md add mongo image 2017-02-25 02:10:23 +01:00

ht-docker-node

This image is available on DockerHub. Specify it as base image like so:

FROM hosttoday/ht-docker-node

Status

build status

Usage

The purpose of this Docker image is to provide a robust base for node apps and CI. It comes in different flavours and all of them have node, npm, git and ssh in PATH.

The :npmci flavour has npmci in path and can install any required node version and update PATH accordingly:

FROM hosttoday/ht-docker-node:npmci
RUN npmci install [node_version_number] // this installs node using node and sets the default to the new node and npm versions

Flavour Overview:

  • :lts - node lts version, equals :latest
  • :stable - node stable version
  • :npmci - npmci preinstalled
  • :npmts - npmci + npmts preinstalled
  • :npmpage - npmci + npmts + npmpage preinstalled
  • :mongo - npmci + npmts + mongo