Minimal Node Docker image. It's use is intended for kool.dev, but can fit in any other Node use-case.
The following images have been discontinued, but still exist on Hub Docker in case you need them. We strongly advise moving to the newer versions.
- 10, 10-qa, 10-adonis, 10-adonis-qa, 10-nest, 10-nest-qa
- 12, 12-qa, 12-adonis, 12-adonis-qa, 12-nest, 12-nest-qa
- 14, 14-qa, 14-adonis, 14-adonis-qa, 14-nest, 14-nest-qa
- 16
Variable | Default Value | Description |
---|---|---|
ASUSER | 0 |
Changes the user id that executes the commands |
UID | 0 |
Changes the user id that executes the commands (ignored if ASUSER is provided) |
With docker run
:
docker run -it --rm kooldev/node:20 node -v
With environment variables:
docker run -it --rm -e ASUSER=500 kooldev/node:20 node -v
With docker-compose.yml
:
app:
image: kooldev/node:20
environment:
ASUSER: "${$UID}"
You must have
kool
installed.
This repo leverages a simple templating tool based on Laravel Blade to generate the actual building contexts for each image flavour.
You should change fwd-template.json
and template
folder.
After your changes, just run kool run template
to compile the template and generate all version folder/files.
The MIT License (MIT). Please see License File for more information.