Sign inSign up

adevur/centos-nodejs

By adevur

•Updated over 4 years ago

A minimal CentOS Stream 8 image with Node.js and NPM.

Image
0

10K+

adevur/centos-nodejs repository overview

⁠centos-nodejs

This image provides a minimal CentOS Stream 8 image with Node.js and NPM installed.

⁠Tags

This image has two tags: latest and lts.

centos-nodejs:latest: based on current latest stable release of Node.js (18.x.x).

centos-nodejs:lts: based on current LTS release of Node.js (16.x.x).

⁠Building

To build latest tag:

docker build --tag centos-nodejs:latest ./latest

To build lts tag:

docker build --tag centos-nodejs:lts ./lts
⁠Usage

You can use this image as a base for other Docker images, by using FROM adevur/centos-nodejs:latest in your Dockerfile.

Otherwise, you can also use this image as stand-alone. For example, if you run:

docker run --rm --name nodejs -it adevur/centos-nodejs:lts /bin/bash

You'll have a bash terminal opened in a container with CentOS Stream 8, Node.js 16.x.x LTS and latest NPM version.

⁠Additional info

Node.js and NPM have been installed using the procedure described at: NodeSource Node.js Binary Distributions⁠

Tag summary

Content type

Image

Digest

Size

234.5 MB

Last updated

over 4 years ago

docker pull adevur/centos-nodejs