Skip to content

aiprogMach/docker-node

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CI/CD

Description

Minimal Node Docker image. It's use is intended for kool.dev, but can fit in any other Node use-case.

Available Tags

16

18

Legacy tags

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.

Environment Variables

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)

Usage

With docker run:

docker run -it --rm kooldev/node:16 node -v

With environment variables:

docker run -it --rm -e ASUSER=500 kooldev/node:16 node -v

With docker-compose.yml:

app:
  image: kooldev/node:14
  environment:
    ASUSER: "${$UID}"

Contributing

Updating images and building locally

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.

License

The MIT License (MIT). Please see License File for more information.

About

Docker Images for Node

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 39.6%
  • Shell 34.3%
  • Blade 26.1%