Sign inSign up

temandodx/minimal-node

By temandodx

•Updated over 9 years ago

Docker image for making node and yarn available for node module installation.

Image
1

419

temandodx/minimal-node repository overview

⁠Minimal Node Docker File

This project contains the Docker file to install node modules for projects. The official Node 4 image based on Alpine Linux⁠ installation with Yarn⁠ added for convenience.

⁠Prerequisites

Install Docker⁠ to run docker commands.

⁠Building the Docker Image

To build the image, run:

docker build -t {imagename} --build-arg SOURCE_COMMIT=$(git rev-parse --short HEAD) .

Note:

  • {imagename} can be any string.
  • Syntax shown above works in bash.

⁠Log in to the Docker Image

To log in to the previously built Docker image, run:

docker run -ti {imagename} sh

{imagename} can be any string.

Tag summary

Content type

Image

Digest

Size

22.4 MB

Last updated

over 9 years ago

docker pull temandodx/minimal-node