docker.io/node:lts-alpine linux/amd64
docker.io/node:lts-alpine - 国内下载镜像源 浏览次数:422
源镜像 | docker.io/node:lts-alpine |
国内镜像 | swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/node:lts-alpine |
镜像ID | sha256:45a59611ca84e7fa7e39413f7a657afd43e2b71b8d6cb3cb722d97ffc842decb |
镜像TAG | lts-alpine |
大小 | 133.29MB |
镜像源 | docker.io |
项目信息 | Docker-Hub主页 🚀项目TAG 🚀 |
CMD | node |
启动入口 | docker-entrypoint.sh |
工作目录 | |
OS/平台 | linux/amd64 |
浏览量 | 422 次 |
贡献者 | |
镜像创建 | 2024-08-21T19:04:33Z |
同步时间 | 2024-10-01 10:58 |
更新时间 | 2025-04-03 21:36 |
镜像安全扫描 查看Trivy扫描报告
系统OS: alpine 3.20.3 扫描引擎: Trivy 扫描时间: 2024-10-27 03:28
低危漏洞:2
Docker拉取命令
docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/node:lts-alpine
docker tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/node:lts-alpine docker.io/node:lts-alpine
Containerd拉取命令
ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/node:lts-alpine
ctr images tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/node:lts-alpine docker.io/node:lts-alpine
Shell快速替换命令
sed -i 's#node:lts-alpine#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/node:lts-alpine#' deployment.yaml
Ansible快速分发-Docker
#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/node:lts-alpine && docker tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/node:lts-alpine docker.io/node:lts-alpine'
Ansible快速分发-Containerd
#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/node:lts-alpine && ctr images tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/node:lts-alpine docker.io/node:lts-alpine'
镜像构建历史
# 2024-08-22 03:04:33 0.00B 设置默认要执行的命令
CMD ["node"]
# 2024-08-22 03:04:33 0.00B 配置容器启动时运行的命令
ENTRYPOINT ["docker-entrypoint.sh"]
# 2024-08-22 03:04:33 388.00B 复制新文件或目录到容器中
COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
# 2024-08-22 03:04:33 5.59MB 执行命令并创建新的镜像层
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
# 2024-08-22 03:04:33 0.00B 设置环境变量 YARN_VERSION
ENV YARN_VERSION=1.22.22
# 2024-08-22 03:04:33 119.91MB 执行命令并创建新的镜像层
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="913547514c21152f09d46b8b140d30dd5ea40d2e3ac4ddc6ff3e12a666bec482" 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
# 2024-08-22 03:04:33 0.00B 设置环境变量 NODE_VERSION
ENV NODE_VERSION=20.17.0
# 2024-08-22 03:04:33 0.00B
/bin/sh -c #(nop) CMD ["/bin/sh"]
# 2024-08-22 03:04:33 7.80MB
/bin/sh -c #(nop) ADD file:5758b97d8301c84a204a6e516241275d785a7cade40b2fb99f01fe122482e283 in /
镜像信息
{
"Id": "sha256:45a59611ca84e7fa7e39413f7a657afd43e2b71b8d6cb3cb722d97ffc842decb",
"RepoTags": [
"node:lts-alpine",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/node:lts-alpine"
],
"RepoDigests": [
"node@sha256:2d07db07a2df6830718ae2a47db6fedce6745f5bcd174c398f2acdda90a11c03",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/node@sha256:623c62511911b1baff74883b80cc5d6affaf15e5d43d3c18196bda09a6f0d31e"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2024-08-21T19:04:33Z",
"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=20.17.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": 133292336,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/192b4e2d3502501fdf013db24e89ffafc074798b9c1eae7f57f5b143e0be87d5/diff:/var/lib/docker/overlay2/a063031f392f64239352ab1d6df36dbbb8c1fc01d056af30e56adc4e18ff5b5c/diff:/var/lib/docker/overlay2/56dbc2212cbc9b991b1a93a72a8c08a3a8460c06576fe4f3267009446334aa65/diff",
"MergedDir": "/var/lib/docker/overlay2/91d90a48ea152fda92c497bb32ee99beb57750fcfa6d3d4ae987c8a70f622c71/merged",
"UpperDir": "/var/lib/docker/overlay2/91d90a48ea152fda92c497bb32ee99beb57750fcfa6d3d4ae987c8a70f622c71/diff",
"WorkDir": "/var/lib/docker/overlay2/91d90a48ea152fda92c497bb32ee99beb57750fcfa6d3d4ae987c8a70f622c71/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:63ca1fbb43ae5034640e5e6cb3e083e05c290072c5366fcaa9d62435a4cced85",
"sha256:d6f6f040bd98fa126dd3f7aec9e6c5f855ec2ca43ff4a0345d6b289e8fb01f3b",
"sha256:6b14feb1f19c37ed04f570a8811420aa5691b9c5a68e140e01a3bdcb2f371460",
"sha256:c1c2390e18662dacccaffdf83808a8db5c33742403d6b7bd66898fd5e44084b1"
]
},
"Metadata": {
"LastTagTime": "2024-10-01T10:58:30.487674083+08:00"
}
}
更多版本
docker.io/node:18.20.3-alpine3.20
docker.io/node:20.16.0-alpine3.20
docker.io/node:19.4.0-alpine3.17
docker.io/node:14.17.6-stretch
docker.io/node:20.17.0-bullseye
docker.io/nodered/node-red:latest
docker.io/node:20.15.1-alpine3.20
docker.io/nodecloud/nccl-test:cuda_12.1.0
docker.io/node:20.11-alpine3.19
docker.io/nodered/node-red:4.0.5-22
docker.io/nodematic/ffmpeg-python:3.11
docker.io/node:current-bookworm
docker.io/node:iron-bookworm-slim
docker.io/node:22.14.0-bullseye
docker.io/node:22.14.0-bullseye-slim