Sign inSign up

beardedeagle/alpine-node-builder

By beardedeagle

•Updated over 5 years ago

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

Image
2

8.3K

beardedeagle/alpine-node-builder repository overview

⁠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.
>

Tag summary

Content type

Image

Digest

Size

43.6 MB

Last updated

over 5 years ago

docker pull beardedeagle/alpine-node-builder