diff --git a/Others/npm/11.6.0/24.03-lts-sp1/Dockerfile b/Others/npm/11.6.0/24.03-lts-sp1/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..80aef74d3df54d649b8726589ce7706bc4f3a3aa --- /dev/null +++ b/Others/npm/11.6.0/24.03-lts-sp1/Dockerfile @@ -0,0 +1,13 @@ +ARG BASE=openeuler/openeuler:24.03-lts-sp1 +FROM ${BASE} +ARG VERSION=11.6.0 + +RUN dnf update -y \ + && dnf install nodejs -y \ + && dnf clean all \ + && rm -rf /var/cache/dnf + +# `install.sh` installs the latest npm version +RUN curl -qL https://www.npmjs.com/install.sh | sh + +CMD ["npm", "-v"] diff --git a/Others/npm/README.md b/Others/npm/README.md index fc8c5b77acbaffa841dd71e5d069e9b705d88f10..009d574ea4e29e228e242fac2bce8dfa1789591e 100644 --- a/Others/npm/README.md +++ b/Others/npm/README.md @@ -18,6 +18,7 @@ The tag of each `npm` docker image is consist of the version of `npm` and the ve | Tag | Currently | Architectures | |----------|-------------|------------------| +|[11.6.0-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/npm/11.6.0/24.03-lts-sp1/Dockerfile) | npm 11.6.0 on openEuler 24.03-LTS-SP1 | amd64, arm64 | |[11.4.2-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/npm/11.4.2/24.03-lts-sp1/Dockerfile)| npm 11.4.2 on openEuler 24.03-LTS-SP1 | amd64, arm64 | # Usage diff --git a/Others/npm/doc/image-info.yml b/Others/npm/doc/image-info.yml index 4bbcfaa96368318ba276f5dcf9cab543ec703a5c..87723f4b51ed2953d97cb36771a2e895710ebbc5 100644 --- a/Others/npm/doc/image-info.yml +++ b/Others/npm/doc/image-info.yml @@ -11,6 +11,7 @@ tags: | | Tag | Currently | Architectures | |----------|-------------|------------------| + |[11.6.0-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/npm/11.6.0/24.03-lts-sp1/Dockerfile) | npm 11.6.0 on openEuler 24.03-LTS-SP1 | amd64, arm64 | |[11.4.2-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/npm/11.4.2/24.03-lts-sp1/Dockerfile)| npm 11.4.2 on openEuler 24.03-LTS-SP1 | amd64, arm64 | download: | diff --git a/Others/npm/meta.yml b/Others/npm/meta.yml index 9b2b098c983c582a48a5ea6cabefd8de3b053a70..c4659f82fbb70c5fa5b197e175a8aee86f737d81 100644 --- a/Others/npm/meta.yml +++ b/Others/npm/meta.yml @@ -3,4 +3,6 @@ 11.5.2-oe2403sp1: - path: 11.5.2/24.03-lts-sp1/Dockerfile \ No newline at end of file + path: 11.5.2/24.03-lts-sp1/Dockerfile +11.6.0-oe2403sp1: + path: 11.6.0/24.03-lts-sp1/Dockerfile \ No newline at end of file