48 lines
1.8 KiB
Markdown
48 lines
1.8 KiB
Markdown
---
|
|
name: ht-docker-node
|
|
description: the ultimate docker-node image
|
|
---
|
|
# 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
|
|
* **:npmcijava - npmci + java
|
|
* **:npmpage** - npmci + npmts + npmpage preinstalled
|
|
* **:mongo** - npmci + npmts + mongo
|
|
|
|
## optimized for performance with npmci and npmts
|
|
Take a goof look at the **npmts** and **npmci** tools on npm. They make development of TypeScript node modules rediculouly easy :)
|
|
|
|
The **:npmcijava** flavour works together with **smartwebdriver** so you can test all your cool polymer elements in a headless chrome environment or sauce :)
|
|
|
|
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)
|