Documentation for gcr.io/distroless/nodejs

May 13, 2026 ยท View on GitHub

Image Contents

These images contain a minimal Linux, Node.js-based runtime. The supported versions match the Node.js LTS releases.

Specifically, these images contain everything in the cc image, plus one of:

  • Node.js v22 (gcr.io/distroless/nodejs22-debian13) and its dependencies.
  • Node.js v24 (gcr.io/distroless/nodejs24-debian13) and its dependencies.
  • Node.js v26 (gcr.io/distroless/nodejs26-debian13) and its dependencies.

Usage

The entrypoint of this image is set to "node", so this image expects users to supply a path to a .js file in the CMD.

See the Node.js Hello World directory for an example.