Skip to content

Up to date Alpine image with the latest Node and NPM versions for staged builds.

License

Notifications You must be signed in to change notification settings

beardedeagle/alpine-node-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker + Alpine + Node = Love

This Dockerfile provides a good base build image to use in multistage builds for Node apps. It comes with the latest version of Alpine, Node and NPM. It is intended for use in creating release images with or for your application and allows you to avoid cross-compiling releases. The exception of course is if your app has dependencies which require a native compilation toolchain, but that is an exercise left to the user.

No effort has been made to make this image suitable to run in unprivileged environments. The repository owner is not responsible for any losses that result from improper usage or security practices, as it is expected that the user of this image will implement proper security practices themselves.

Software/Language Versions

Alpine 3.13.1
Nodejs 15.8.0
NPM 7.5.2
Git 2.30.0

Usage

To boot straight to a node prompt in the image:

$ docker run --rm -i -t beardedeagle/alpine-node-builder node
Welcome to Node.js v15.8.0.
Type ".help" for more information.
>

About

Up to date Alpine image with the latest Node and NPM versions for staged builds.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published