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 0000000000000000000000000000000000000000..53dbf09bd25b5a8e8b76f357b96e433728215d5a --- /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 39068712dcc76f1544e823a8e4565070b21257c8..a9bdba96967e2de0091d3231ef48ba89da1433f0 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 41eaf22a0afc3ada0232eacb5aee3eba77d415a0..afdd8d4b669f774271a9ff5527f5317c855c9d74 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 029a3d83f97e3dffd373f27fc5b6d68f716ca012..3c2d935feedd8f5fe75dd267c93e1ee5cd9003cb 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