From 72b687fe1c1b3c5a956a2d025436d569ae7f1a03 Mon Sep 17 00:00:00 2001 From: openeuler_bot Date: Wed, 10 Dec 2025 00:10:57 +0000 Subject: [PATCH] 24.03-lts-sp2 update npm to 11.7.0 --- Others/npm/11.7.0/24.03-lts-sp2/Dockerfile | 13 +++++++++++++ Others/npm/README.md | 1 + Others/npm/doc/image-info.yml | 1 + Others/npm/meta.yml | 4 +++- 4 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 Others/npm/11.7.0/24.03-lts-sp2/Dockerfile diff --git a/Others/npm/11.7.0/24.03-lts-sp2/Dockerfile b/Others/npm/11.7.0/24.03-lts-sp2/Dockerfile new file mode 100644 index 00000000..53dbf09b --- /dev/null +++ b/Others/npm/11.7.0/24.03-lts-sp2/Dockerfile @@ -0,0 +1,13 @@ +ARG BASE=openeuler/openeuler:24.03-lts-sp2 +FROM ${BASE} +ARG VERSION=11.7.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 39068712..a9bdba96 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.7.0-oe2403sp2](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/npm/11.7.0/24.03-lts-sp2/Dockerfile) | npm 11.7.0 on openEuler 24.03-LTS-SP2 | amd64, arm64 | |[11.6.4-oe2403sp2](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/npm/11.6.4/24.03-lts-sp2/Dockerfile) | npm 11.6.4 on openEuler 24.03-LTS-SP2 | amd64, arm64 | |[11.6.3-oe2403sp2](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/npm/11.6.3/24.03-lts-sp2/Dockerfile) | npm 11.6.3 on openEuler 24.03-LTS-SP2 | amd64, arm64 | |[11.6.2-oe2403sp2](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/npm/11.6.2/24.03-lts-sp2/Dockerfile) | npm 11.6.2 on openEuler 24.03-LTS-SP2 | amd64, arm64 | diff --git a/Others/npm/doc/image-info.yml b/Others/npm/doc/image-info.yml index 41eaf22a..afdd8d4b 100644 --- a/Others/npm/doc/image-info.yml +++ b/Others/npm/doc/image-info.yml @@ -11,6 +11,7 @@ tags: | | Tag | Currently | Architectures | |----------|-------------|------------------| + |[11.7.0-oe2403sp2](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/npm/11.7.0/24.03-lts-sp2/Dockerfile) | npm 11.7.0 on openEuler 24.03-LTS-SP2 | amd64, arm64 | |[11.6.4-oe2403sp2](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/npm/11.6.4/24.03-lts-sp2/Dockerfile) | npm 11.6.4 on openEuler 24.03-LTS-SP2 | amd64, arm64 | |[11.6.3-oe2403sp2](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/npm/11.6.3/24.03-lts-sp2/Dockerfile) | npm 11.6.3 on openEuler 24.03-LTS-SP2 | amd64, arm64 | |[11.6.2-oe2403sp2](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/npm/11.6.2/24.03-lts-sp2/Dockerfile) | npm 11.6.2 on openEuler 24.03-LTS-SP2 | amd64, arm64 | diff --git a/Others/npm/meta.yml b/Others/npm/meta.yml index 029a3d83..3c2d935f 100644 --- a/Others/npm/meta.yml +++ b/Others/npm/meta.yml @@ -9,4 +9,6 @@ 11.6.3-oe2403sp2: path: 11.6.3/24.03-lts-sp2/Dockerfile 11.6.4-oe2403sp2: - path: 11.6.4/24.03-lts-sp2/Dockerfile \ No newline at end of file + path: 11.6.4/24.03-lts-sp2/Dockerfile +11.7.0-oe2403sp2: + path: 11.7.0/24.03-lts-sp2/Dockerfile \ No newline at end of file -- Gitee