From b7ba47db18848ccde4a09fadcfc60f85700daa74 Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Sun, 2 Apr 2017 22:13:52 +0200 Subject: [PATCH] update readme --- README.md | 22 ++- docs/index.md | 38 +++++ public/index.html | 411 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 465 insertions(+), 6 deletions(-) create mode 100644 docs/index.md create mode 100644 public/index.html diff --git a/README.md b/README.md index 2d0ade3..82f1252 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,17 @@ # ht-docker-node - -This image is available on DockerHub. Specify it as base image like so: - -```Dockerfile -FROM hosttoday/ht-docker-node -``` +the ultimate docker node image ## Status [![build status](https://gitlab.com/hosttoday/ht-docker-node/badges/master/build.svg)](https://gitlab.com/hosttoday/ht-docker-node/commits/master) +[Docs](https://hosttoday.gitlab.io/ht-docker-node/) + +## Availability +Registry | Image Path +--- | --- +GitLab Registry | registry.gitlab.com/hosttoday/ht-docker-node +Docker Hub | hosttoday/ht-docker-node + ## 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. @@ -28,3 +31,10 @@ RUN npmci install [node_version_number] // this installs node using node and set * **:npmts** - npmci + npmts preinstalled * **:npmpage** - npmci + npmts + npmpage preinstalled * **:mongo** - npmci + npmts + mongo + +For further information read the linked docs at the top of this README. + +> MIT licensed | **©** [Lossless GmbH](https://lossless.gmbh) +| By using this npm module you agree to our [privacy policy](https://lossless.gmbH/privacy.html) + +[![repo-footer](https://hosttoday.gitlab.io/assets/repo-footer.svg)](https://host.today) diff --git a/docs/index.md b/docs/index.md new file mode 100644 index 0000000..ab332ce --- /dev/null +++ b/docs/index.md @@ -0,0 +1,38 @@ +# ht-docker-node +the ultimate docker node image + +## Status +[![build status](https://gitlab.com/hosttoday/ht-docker-node/badges/master/build.svg)](https://gitlab.com/hosttoday/ht-docker-node/commits/master) + +## Availability +Registry | Image Path +--- | --- +GitLab Registry | registry.gitlab.com/hosttoday/ht-docker-node +Docker Hub | hosttoday/ht-docker-node + +## 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: + +```Dockerfile +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 + +For further information read the linked docs at the top of this README. + +> MIT licensed | **©** [Lossless GmbH](https://lossless.gmbh) +| By using this npm module you agree to our [privacy policy](https://lossless.gmbH/privacy.html) + +[![repo-footer](https://hosttoday.gitlab.io/assets/repo-footer.svg)](https://host.today) diff --git a/public/index.html b/public/index.html new file mode 100644 index 0000000..0fb44e4 --- /dev/null +++ b/public/index.html @@ -0,0 +1,411 @@ + + + + Quicksite + + + + + + +
+

ht-docker-node

+

the ultimate docker node image

+

Status

+

build status

+

Availability

+ + + + + + + + + + + + + + + + + +
RegistryImage Path
GitLab Registryregistry.gitlab.com/hosttoday/ht-docker-node
Docker Hubhosttoday/ht-docker-node
+

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:

+ +

For further information read the linked docs at the top of this README.

+
+

MIT licensed | © Lossless GmbH +| By using this npm module you agree to our privacy policy

+
+

repo-footer

+ + +
+ + + \ No newline at end of file