Sign inSign up

openeuler/distroless-nodejs

Sponsored OSS

By openeuler

•Updated about 1 month ago

Image
0

2.2K

openeuler/distroless-nodejs repository overview

⁠Quick reference

⁠distroless-nodejs | openEuler

This image contains a minimal Linux, that only contains the Node.js runtime.

  • It contains the Node.js executable and standard libraries(libnode.so and the built-in modules in node_muodules)
  • It does not include npm or any other package management or shell tools.

The tag of each distroless-nodejs docker image is consist of the version of Node.js and version of openEuler. The details are as follows

TagCurrentlyArchitectures
20.18.2-oe2403lts⁠Node.js 20.18.2 on openEuler 24.03-LTSamd64, arm64

⁠Usage

The container automatically uses the built-in Node.js runtime to execute the file, so you don't need to call node explicitly. For example⁠

FROM openeuler/distroless-nodejs:20.18.2-oe2403lts
COPY hello.js /hello.js
CMD ["/hello.js"]

⁠Run Applications as a Non-Root User

For implementation details, refer to the distroless-base-nonroot documentation⁠.

⁠Question and answering

If you have any questions or want to use some special features, please submit an issue or a pull request on openeuler-docker-images⁠.

Tag summary

Content type

Image

Digest

sha256:e02eeba14…

Size

40.2 MB

Last updated

about 1 month ago

docker pull openeuler/distroless-nodejs:20.18.2-oe2403lts

This week's pulls

Pulls:

12

Last week