DEV Community

Navneet Karnani
Navneet Karnani

Posted on • Originally published at blog.mandraketech.in on

NodeJS on Ubuntu and Debian in Docker

For my current development project, I wanted to install NodeJS in my docker image, with the following constraints:

  • OS starting point that I define ( monthly patched version of Debian-LTS )

  • Latest security patched version of the NodeJS binaries

  • Need faster security patching

  • Avoid using Package Manager - no apt

  • Low disk footprint

Built this snippet:

https://gitlab.com/-/snippets/3613589

Hoping you find it useful.

Top comments (0)