镜像构建历史
# 2024-03-12 17:51:21 0.00B
/bin/sh -c #(nop) CMD ["node"]
# 2024-03-12 17:51:21 0.00B
/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
# 2024-03-12 17:51:21 388.00B
/bin/sh -c #(nop) COPY file:4d192565a7220e135cab6c77fbc1c73211b69f3d9fb37e62857b2c6eb9363d51 in /usr/local/bin/
# 2024-03-12 17:51:21 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
# 2024-03-12 17:51:08 0.00B
/bin/sh -c #(nop) ENV YARN_VERSION=1.22.19
# 2024-03-12 17:51:08 116.61MB
/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
# 2024-03-12 17:50:44 0.00B
/bin/sh -c #(nop) ENV NODE_VERSION=20.11.1
# 2024-03-12 17:48:29 8.90KB
/bin/sh -c groupadd --gid 1000 node && useradd --uid 1000 --gid node --shell /bin/bash --create-home node
# 2024-03-12 09:21:01 0.00B
/bin/sh -c #(nop) CMD ["bash"]
# 2024-03-12 09:21:01 74.77MB
/bin/sh -c #(nop) ADD file:b86ae1c7ca3586d8feedcd9ff1b2b1e8ab872caf6587618f1da689045a5d7ae4 in /
镜像信息
{
"Id": "sha256:8c3d9f745295347079159e64c082da795883de0a0831ce58ce8c3fadb980896f",
"RepoTags": [
"node:20.11.1-slim",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/node:20.11.1-slim"
],
"RepoDigests": [
"node@sha256:357deca6eb61149534d32faaf5e4b2e4fa3549c2be610ee1019bf340ea8c51ec",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/node@sha256:899cee7d447d02c1c8590eef0b57eb6c1dec10e9c1cce7942aa7a7e3d5c0e842"
],
"Parent": "",
"Comment": "",
"Created": "2024-03-12T09:51:21.588720397Z",
"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.11.1",
"YARN_VERSION=1.22.19"
],
"Cmd": [
"node"
],
"Image": "sha256:1e9eb872f2a468c71931c0e476b2e5e4ee2bf9cadc9ce1f941e399be1edf9492",
"Volumes": null,
"WorkingDir": "",
"Entrypoint": [
"docker-entrypoint.sh"
],
"OnBuild": null,
"Labels": null
},
"Architecture": "amd64",
"Os": "linux",
"Size": 200746279,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/2054f547f458ba8abe1ab6554f74684c429f8898106e2bd20b613ee675055954/diff:/var/lib/docker/overlay2/cbba65d95ccad011c89957ad83afc9e3dcb28a6078cbefc34c3703eff8d8eab1/diff:/var/lib/docker/overlay2/062797a71e2af342874e10fb9a78ef29b858f33dd5f790f066382dc333d9caaa/diff:/var/lib/docker/overlay2/cfdb35c66f0da209364a7efe05a41ae43fd16d67f3b7e3aa409ee23cab17d560/diff",
"MergedDir": "/var/lib/docker/overlay2/d20ee936deada5355f8ac472dd7232b094c88fd549c40fc64cc84512e1b3d5f6/merged",
"UpperDir": "/var/lib/docker/overlay2/d20ee936deada5355f8ac472dd7232b094c88fd549c40fc64cc84512e1b3d5f6/diff",
"WorkDir": "/var/lib/docker/overlay2/d20ee936deada5355f8ac472dd7232b094c88fd549c40fc64cc84512e1b3d5f6/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:a483da8ab3e941547542718cacd3258c6c705a63e94183c837c9bc44eb608999",
"sha256:6a01ffdc909082234229102de1b2b95caf6454aacee63f8ae87d2bbb7d7a7270",
"sha256:61c5f80ac6bf010a06d9d6aa37302f2f86fa0d5ea3f8db82820ae22f64dea248",
"sha256:fefe0c5bbf1c8e0a17dcc217b79655f09e5bd7e5359722a4ed0031bab3aa41c9",
"sha256:f5a88fcbf8c3285b9fe9ff0e248b61f0299696edd9f4940b6f2cb28f0972bac4"
]
},
"Metadata": {
"LastTagTime": "2025-01-06T15:11:55.18358595+08:00"
}
}