docker.io/library/node:lts-slim linux/amd64

docker.io/library/node:lts-slim - 国内下载镜像源 浏览次数:39 安全受验证的发布者-Docker
🏗️

Node.js 是一个用于JavaScript脚本语言的运行环境,可以在服务器上运行、可以与操作系统集成和交互。 Node.js 可以用来开发各种类型的应用程序,如 Web 应用程序、命令行工具、桌面应用程序等。

源镜像 docker.io/library/node:lts-slim
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/node:lts-slim
镜像ID sha256:35d3065519eeab2dffdbf3e9f8bc501bc8349a0316fab2641d959abed4c41e6e
镜像TAG lts-slim
大小 219.76MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD node
启动入口 docker-entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 39 次
贡献者
镜像创建 2024-10-29T20:39:22Z
同步时间 2024-11-04 11:15
更新时间 2024-11-21 16:59
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin NODE_VERSION=22.11.0 YARN_VERSION=1.22.22
镜像安全扫描 查看Trivy扫描报告

系统OS: debian 12.7 扫描引擎: Trivy 扫描时间: 2024-11-04 11:15

低危漏洞:58 中危漏洞:14 高危漏洞:1 严重漏洞:1

Docker拉取命令 无权限下载?点我修复

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/node:lts-slim
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/node:lts-slim  docker.io/library/node:lts-slim

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/node:lts-slim
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/node:lts-slim  docker.io/library/node:lts-slim

Shell快速替换命令

sed -i 's#library/node:lts-slim#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/node:lts-slim#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/node:lts-slim && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/node:lts-slim  docker.io/library/node:lts-slim'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/node:lts-slim && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/node:lts-slim  docker.io/library/node:lts-slim'

镜像历史

大小 创建时间 层信息
0.00B 2024-10-30 04:39:22 CMD ["node"]
0.00B 2024-10-30 04:39:22 ENTRYPOINT ["docker-entrypoint.sh"]
388.00B 2024-10-30 04:39:22 COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
7.18MB 2024-10-30 04:39:22 RUN /bin/sh -c set -ex && savedAptMark="$(apt-mark showmanual)" && apt-get update && apt-get install -y ca-certificates curl wget gnupg dirmngr --no-install-recommends && rm -rf /var/lib/apt/lists/* && export GNUPGHOME="$(mktemp -d)" && for key in 6A010C5166006599AA17F08146C2130DFD2497F5 ; do gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$key" || gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key" ; done && curl -fsSLO --compressed "https://yarnpkg.com/downloads/$YARN_VERSION/yarn-v$YARN_VERSION.tar.gz" && curl -fsSLO --compressed "https://yarnpkg.com/downloads/$YARN_VERSION/yarn-v$YARN_VERSION.tar.gz.asc" && gpg --batch --verify yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz && gpgconf --kill all && rm -rf "$GNUPGHOME" && mkdir -p /opt && tar -xzf yarn-v$YARN_VERSION.tar.gz -C /opt/ && ln -s /opt/yarn-v$YARN_VERSION/bin/yarn /usr/local/bin/yarn && ln -s /opt/yarn-v$YARN_VERSION/bin/yarnpkg /usr/local/bin/yarnpkg && rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz && apt-mark auto '.*' > /dev/null && { [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; } && find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); print so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false && yarn --version && rm -rf /tmp/* # buildkit
0.00B 2024-10-30 04:39:22 ENV YARN_VERSION=1.22.22
137.80MB 2024-10-30 04:39:22 RUN /bin/sh -c ARCH= OPENSSL_ARCH= && dpkgArch="$(dpkg --print-architecture)" && case "${dpkgArch##*-}" in amd64) ARCH='x64' OPENSSL_ARCH='linux-x86_64';; ppc64el) ARCH='ppc64le' OPENSSL_ARCH='linux-ppc64le';; s390x) ARCH='s390x' OPENSSL_ARCH='linux*-s390x';; arm64) ARCH='arm64' OPENSSL_ARCH='linux-aarch64';; armhf) ARCH='armv7l' OPENSSL_ARCH='linux-armv4';; i386) ARCH='x86' OPENSSL_ARCH='linux-elf';; *) echo "unsupported architecture"; exit 1 ;; esac && set -ex && apt-get update && apt-get install -y ca-certificates curl wget gnupg dirmngr xz-utils libatomic1 --no-install-recommends && rm -rf /var/lib/apt/lists/* && export GNUPGHOME="$(mktemp -d)" && for key in C0D6248439F1D5604AAFFB4021D900FFDB233756 DD792F5973C6DE52C432CBDAC77ABFA00DDBF2B7 CC68F5A3106FF448322E48ED27F5E38D5B0A215F 8FCCA13FEF1D0C2E91008E09770F7A9A5AE15600 890C08DB8579162FEE0DF9DB8BEAB4DFCF555EF4 C82FA3AE1CBEDC6BE46B9360C43CEC45C17AB93C 108F52B48DB57BB0CC439B2997B01419BD92F80A A363A499291CBBC940DD62E41F10027AF002F8B0 ; do gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$key" || gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key" ; done && curl -fsSLO --compressed "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-$ARCH.tar.xz" && curl -fsSLO --compressed "https://nodejs.org/dist/v$NODE_VERSION/SHASUMS256.txt.asc" && gpg --batch --decrypt --output SHASUMS256.txt SHASUMS256.txt.asc && gpgconf --kill all && rm -rf "$GNUPGHOME" && grep " node-v$NODE_VERSION-linux-$ARCH.tar.xz\$" SHASUMS256.txt | sha256sum -c - && tar -xJf "node-v$NODE_VERSION-linux-$ARCH.tar.xz" -C /usr/local --strip-components=1 --no-same-owner && rm "node-v$NODE_VERSION-linux-$ARCH.tar.xz" SHASUMS256.txt.asc SHASUMS256.txt && find /usr/local/include/node/openssl/archs -mindepth 1 -maxdepth 1 ! -name "$OPENSSL_ARCH" -exec rm -rf {} \; && apt-mark auto '.*' > /dev/null && find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); print so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false && ln -s /usr/local/bin/node /usr/local/bin/nodejs && node --version && npm --version # buildkit
0.00B 2024-10-30 04:39:22 ENV NODE_VERSION=22.11.0
8.90KB 2024-10-30 04:39:22 RUN /bin/sh -c groupadd --gid 1000 node && useradd --uid 1000 --gid node --shell /bin/bash --create-home node # buildkit
0.00B 2024-10-17 08:20:30 /bin/sh -c #(nop) CMD ["bash"]
74.78MB 2024-10-17 08:20:29 /bin/sh -c #(nop) ADD file:90b9dd8f12120e8b2cd3ece45fcbe8af67e40565e2032a40f64bd921c43e2ce7 in /

镜像信息

{
    "Id": "sha256:35d3065519eeab2dffdbf3e9f8bc501bc8349a0316fab2641d959abed4c41e6e",
    "RepoTags": [
        "node:lts-slim",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/node:lts-slim"
    ],
    "RepoDigests": [
        "node@sha256:f73e9c70d4279d5e7b7cc1fe307c5de18b61089ffa2235230408dfb14e2f09a0",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/node@sha256:313d35549a0cb60edf871582009c96ef50c3852f5d53652255e2659474a78be7"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-10-29T20:39:22Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "NODE_VERSION=22.11.0",
            "YARN_VERSION=1.22.22"
        ],
        "Cmd": [
            "node"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": [
            "docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 219762434,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/63045485bae7bc1df371ac22d84e813b92694333d46f5c6e656ea90849777b85/diff:/var/lib/docker/overlay2/f09cbf9e6a2399e9bdca19e503cfc4a51a64f7026e108c365170388fe5bdfd10/diff:/var/lib/docker/overlay2/8428b19e94c2381b6287060d10068ea8d8be4dce7395f97bd26312144184ba88/diff:/var/lib/docker/overlay2/640dc40711366eefdc38587353d7800897ec5b45fb0486472d1bbe1802e322be/diff",
            "MergedDir": "/var/lib/docker/overlay2/07bd2591dda39fb709c5650a55c8cd3cdcc17417ce7fb01a05981b417646a176/merged",
            "UpperDir": "/var/lib/docker/overlay2/07bd2591dda39fb709c5650a55c8cd3cdcc17417ce7fb01a05981b417646a176/diff",
            "WorkDir": "/var/lib/docker/overlay2/07bd2591dda39fb709c5650a55c8cd3cdcc17417ce7fb01a05981b417646a176/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:98b5f35ea9d3eca6ed1881b5fe5d1e02024e1450822879e4c13bb48c9386d0ad",
            "sha256:355ab96b8d2c83d63dc6d6be6c6770c645405bfe9d1518826d188d845dc35c2d",
            "sha256:648833451829137702664eab930969170af294352c5644db456dbc148523fcae",
            "sha256:731b1d53fa685f6af2342ea51c8941edbc352d978313bf740e5794a3e5c7da82",
            "sha256:b672716f18758879c684eece969154fd98725f5331a8e2421a8841525a5e90c5"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-11-04T11:15:19.924281824+08:00"
    }
}

更多版本

docker.io/library/node:12-alpine

linux/amd64 docker.io91.01MB2024-07-05 10:57
172

docker.io/library/node:12-alpine

linux/arm64 docker.io89.43MB2024-07-05 10:57
270

docker.io/library/node:20.14.0-alpine

linux/amd64 docker.io132.91MB2024-07-16 09:21
223

docker.io/library/node:alpine

linux/amd64 docker.io150.61MB2024-07-16 10:17
328

docker.io/library/node:20-alpine

linux/amd64 docker.io133.14MB2024-07-30 23:42
377

docker.io/library/node:16

linux/amd64 docker.io908.82MB2024-07-31 14:14
291

docker.io/library/node:8

linux/amd64 docker.io901.21MB2024-08-07 13:37
155

docker.io/library/node:12

linux/amd64 docker.io917.81MB2024-08-07 13:40
174

docker.io/library/node:14

linux/amd64 docker.io911.75MB2024-08-07 13:43
264

docker.io/library/node:20

linux/amd64 docker.io1.10GB2024-08-07 13:43
248

docker.io/library/node:6

linux/amd64 docker.io884.32MB2024-08-30 09:27
118

docker.io/library/node:18.20.4

linux/amd64 docker.io1.09GB2024-08-31 15:10
202

docker.io/library/node:18

linux/amd64 docker.io1.09GB2024-09-26 17:28
118

docker.io/library/node:20.6.0-alpine

linux/amd64 docker.io180.99MB2024-10-03 02:26
96

docker.io/library/node:20.15.1-alpine

linux/amd64 docker.io132.95MB2024-10-12 10:49
74

docker.io/library/node:20-bullseye-slim

linux/amd64 docker.io205.61MB2024-10-12 12:56
118

docker.io/library/node:14-alpine

linux/amd64 docker.io119.31MB2024-10-18 05:00
98

docker.io/library/node:22.9.0

linux/amd64 docker.io1.11GB2024-10-21 20:53
110

docker.io/library/node:lts-slim

linux/amd64 docker.io219.76MB2024-11-04 11:15
38

docker.io/library/node:14.21.3

linux/amd64 docker.io911.75MB2024-11-07 11:04
30

docker.io/library/node:22.11.0-alpine3.20

linux/amd64 docker.io155.13MB2024-11-20 18:21
12