docker.io/library/node:alpine linux/amd64

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

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

源镜像 docker.io/library/node:alpine
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/node:alpine
镜像ID sha256:c1a86284bbb626fb577fafecb9475f11b41708ca6044771925b36123f188b9f4
镜像TAG alpine
大小 150.61MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD node
启动入口 docker-entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 328 次
贡献者
镜像创建 2024-07-09T05:33:43Z
同步时间 2024-07-16 10:17
更新时间 2024-11-21 15:51
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin NODE_VERSION=22.4.1 YARN_VERSION=1.22.22

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2024-07-09 13:33:43 CMD ["node"]
0.00B 2024-07-09 13:33:43 ENTRYPOINT ["docker-entrypoint.sh"]
388.00B 2024-07-09 13:33:43 COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
5.59MB 2024-07-09 13:33:43 RUN /bin/sh -c apk add --no-cache --virtual .build-deps-yarn curl gnupg tar && 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 && apk del .build-deps-yarn && yarn --version && rm -rf /tmp/* # buildkit
0.00B 2024-07-09 13:33:43 ENV YARN_VERSION=1.22.22
137.22MB 2024-07-09 13:33:43 RUN /bin/sh -c addgroup -g 1000 node && adduser -u 1000 -G node -s /bin/sh -D node && apk add --no-cache libstdc++ && apk add --no-cache --virtual .build-deps curl && ARCH= OPENSSL_ARCH='linux*' && alpineArch="$(apk --print-arch)" && case "${alpineArch##*-}" in x86_64) ARCH='x64' CHECKSUM="d86c0ca0b79675ebe1df9691892b592e888bcba272107d29511f3ff1e527de8c" OPENSSL_ARCH=linux-x86_64;; x86) OPENSSL_ARCH=linux-elf;; aarch64) OPENSSL_ARCH=linux-aarch64;; arm*) OPENSSL_ARCH=linux-armv4;; ppc64le) OPENSSL_ARCH=linux-ppc64le;; s390x) OPENSSL_ARCH=linux-s390x;; *) ;; esac && if [ -n "${CHECKSUM}" ]; then set -eu; curl -fsSLO --compressed "https://unofficial-builds.nodejs.org/download/release/v$NODE_VERSION/node-v$NODE_VERSION-linux-$ARCH-musl.tar.xz"; echo "$CHECKSUM node-v$NODE_VERSION-linux-$ARCH-musl.tar.xz" | sha256sum -c - && tar -xJf "node-v$NODE_VERSION-linux-$ARCH-musl.tar.xz" -C /usr/local --strip-components=1 --no-same-owner && ln -s /usr/local/bin/node /usr/local/bin/nodejs; else echo "Building from source" && apk add --no-cache --virtual .build-deps-full binutils-gold g++ gcc gnupg libgcc linux-headers make python3 py-setuptools && export GNUPGHOME="$(mktemp -d)" && for key in 4ED778F539E3634C779C87C6D7062848A1AB005C 141F07595B7B3FFE74309A937405533BE57C7D57 74F12602B6F1C4E913FAA37AD3A89613643B6201 DD792F5973C6DE52C432CBDAC77ABFA00DDBF2B7 61FC681DFB92A079F1685E77973F295594EC4689 8FCCA13FEF1D0C2E91008E09770F7A9A5AE15600 C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8 890C08DB8579162FEE0DF9DB8BEAB4DFCF555EF4 C82FA3AE1CBEDC6BE46B9360C43CEC45C17AB93C 108F52B48DB57BB0CC439B2997B01419BD92F80A A363A499291CBBC940DD62E41F10027AF002F8B0 CC68F5A3106FF448322E48ED27F5E38D5B0A215F ; 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.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.tar.xz\$" SHASUMS256.txt | sha256sum -c - && tar -xf "node-v$NODE_VERSION.tar.xz" && cd "node-v$NODE_VERSION" && ./configure && make -j$(getconf _NPROCESSORS_ONLN) V= && make install && apk del .build-deps-full && cd .. && rm -Rf "node-v$NODE_VERSION" && rm "node-v$NODE_VERSION.tar.xz" SHASUMS256.txt.asc SHASUMS256.txt; fi && rm -f "node-v$NODE_VERSION-linux-$ARCH-musl.tar.xz" && find /usr/local/include/node/openssl/archs -mindepth 1 -maxdepth 1 ! -name "$OPENSSL_ARCH" -exec rm -rf {} \; && apk del .build-deps && node --version && npm --version # buildkit
0.00B 2024-07-09 13:33:43 ENV NODE_VERSION=22.4.1
0.00B 2024-06-21 04:16:58 /bin/sh -c #(nop) CMD ["/bin/sh"]
7.80MB 2024-06-21 04:16:57 /bin/sh -c #(nop) ADD file:33ebe56b967747a97dcec01bc2559962bee8823686c9739d26be060381bbb3ca in /

镜像信息

{
    "Id": "sha256:c1a86284bbb626fb577fafecb9475f11b41708ca6044771925b36123f188b9f4",
    "RepoTags": [
        "node:alpine",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/node:alpine"
    ],
    "RepoDigests": [
        "node@sha256:98e7b6b154a308d780c618b9622df881f5589a3f097bc7a800ad1418d9d5f72d",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/node@sha256:c0041b61f66b6a95215ac08ccd2e1bbf7506e3325e97d47147955cd3b18e742c"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-07-09T05:33:43Z",
    "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.4.1",
            "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": 150605722,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/71151279ac77c941b1a44962ed1da91851e0d89136849efde0dc48f0c180be46/diff:/var/lib/docker/overlay2/dfd61ef03b517ce11bb422ba82a3c1d322a61979613e21ba96221566fc6c8321/diff:/var/lib/docker/overlay2/984bb007f5969551b53fa1fce3296c2df39ab51a6831eab684250ac7efdbac0c/diff",
            "MergedDir": "/var/lib/docker/overlay2/5e90c448b451825afacc3c6bc7f022f9391198bfd4372c2bd1264c50f2b48442/merged",
            "UpperDir": "/var/lib/docker/overlay2/5e90c448b451825afacc3c6bc7f022f9391198bfd4372c2bd1264c50f2b48442/diff",
            "WorkDir": "/var/lib/docker/overlay2/5e90c448b451825afacc3c6bc7f022f9391198bfd4372c2bd1264c50f2b48442/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:94e5f06ff8e3d4441dc3cd8b090ff38dc911bfa8ebdb0dc28395bc98f82f983f",
            "sha256:53361be6844f2eb8060b14b4ccb4e620aad34fa996ec4871db7aacad2e9da958",
            "sha256:52afed9a3f1e7985a20d249f0b0c5d8a3100b95405b24ea8344ea931106efb5a",
            "sha256:faf7e134692b692582ae4ea4545fae6798ec9a3cb7d735341a16bd14d5d8f7ab"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-07-16T10:17:00.300182515+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
327

docker.io/library/node:20-alpine

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

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
154

docker.io/library/node:12

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

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
117

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
117

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
73

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

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

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