镜像构建历史
# 2023-11-21 17:11:44 0.00B
/bin/sh -c #(nop) CMD ["node"]
# 2023-11-21 17:11:44 0.00B
/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
# 2023-11-21 17:11:44 388.00B
/bin/sh -c #(nop) COPY file:4d192565a7220e135cab6c77fbc1c73211b69f3d9fb37e62857b2c6eb9363d51 in /usr/local/bin/
# 2023-11-21 17:11:44 9.36MB
/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
# 2023-11-21 17:11:32 0.00B
/bin/sh -c #(nop) ENV YARN_VERSION=1.22.19
# 2023-11-21 17:11:31 116.70MB
/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 4ED778F539E3634C779C87C6D7062848A1AB005C 141F07595B7B3FFE74309A937405533BE57C7D57 74F12602B6F1C4E913FAA37AD3A89613643B6201 DD792F5973C6DE52C432CBDAC77ABFA00DDBF2B7 61FC681DFB92A079F1685E77973F295594EC4689 8FCCA13FEF1D0C2E91008E09770F7A9A5AE15600 C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8 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
# 2023-11-21 17:11:05 0.00B
/bin/sh -c #(nop) ENV NODE_VERSION=20.9.0
# 2023-11-21 17:09:27 8.90KB
/bin/sh -c groupadd --gid 1000 node && useradd --uid 1000 --gid node --shell /bin/bash --create-home node
# 2023-11-21 13:21:37 0.00B
/bin/sh -c #(nop) CMD ["bash"]
# 2023-11-21 13:21:37 74.82MB
/bin/sh -c #(nop) ADD file:d261a6f6921593f1e0b3f472ab1b1822e2c6deb0b369200f0b3370556bfad017 in /
镜像信息
{
"Id": "sha256:32ba799eca0fb05243ec88c84262fbc9f2d99108bbe3ece10f7bf8c65f5ae406",
"RepoTags": [
"node:20.9.0-bookworm-slim",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/node:20.9.0-bookworm-slim"
],
"RepoDigests": [
"node@sha256:d272d96f3ad3a4e5bb2b6c36ea7427b4e83d1b23fb24b9df8b71d01aa59951b1",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/node@sha256:7059cd1a44e9694e6df05408fed5d56b710b2f45a8e8806b178d8c31653a48cc"
],
"Parent": "",
"Comment": "",
"Created": "2023-11-21T09:11:44.88206185Z",
"Container": "",
"ContainerConfig": null,
"DockerVersion": "20.10.23",
"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.9.0",
"YARN_VERSION=1.22.19"
],
"Cmd": [
"node"
],
"Image": "sha256:0ffabdcc0e67a7a46c802d38c3dc2ffb967a70d3520cd95b4032ef826b8554f0",
"Volumes": null,
"WorkingDir": "",
"Entrypoint": [
"docker-entrypoint.sh"
],
"OnBuild": null,
"Labels": null
},
"Architecture": "amd64",
"Os": "linux",
"Size": 200894320,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/9e0e593812afbbaa5b05cbc9f7c5d93116389d8180f56793be576bbcbd039fce/diff:/var/lib/docker/overlay2/0fb989c69ddd628fe2dae7395006a5785fc6d82e5b6c11df8911e44fb105ee6e/diff:/var/lib/docker/overlay2/1787b58d986e4cdfb7eab3be99fc654d193cd27d71c695b174aa7e6e4a74be54/diff:/var/lib/docker/overlay2/e360f2ad522263bebae4a2da5dff67a7a86371a6356155e6e1e7348d71e8755f/diff",
"MergedDir": "/var/lib/docker/overlay2/4e7c9b8b2f9d961a57b7bd00db3e1a6b196b524f270d113228e6bdfb2f0af54c/merged",
"UpperDir": "/var/lib/docker/overlay2/4e7c9b8b2f9d961a57b7bd00db3e1a6b196b524f270d113228e6bdfb2f0af54c/diff",
"WorkDir": "/var/lib/docker/overlay2/4e7c9b8b2f9d961a57b7bd00db3e1a6b196b524f270d113228e6bdfb2f0af54c/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:92770f546e065c4942829b1f0d7d1f02c2eb1e6acf0d1bc08ef0bf6be4972839",
"sha256:9547708d2625fdad934356f5ec6428f268808b3530a524804f57e3447a59224c",
"sha256:63c5ccbc8d4ff244e5a33994489b81ec0b6d5aa9487aebdae0fa5f57d6e592f2",
"sha256:29dfa9898e17659e2c7b979ba21adc2f30ecc3a5fec32c87f0d5b07ff61fbd84",
"sha256:c3505f9ccbec275d8aa8abeca72d1d416540c88d121ec600a9bcdbb5137245c4"
]
},
"Metadata": {
"LastTagTime": "2025-01-03T10:53:53.93681901+08:00"
}
}