镜像构建历史
# 2025-09-04 00:01:33 0.00B 添加元数据标签
LABEL devcontainer.metadata=[ {"id":"ghcr.io/devcontainers/features/common-utils:2"}, {"id":"ghcr.io/devcontainers/features/git:1","customizations":{"vscode":{"settings":{"github.copilot.chat.codeGeneration.instructions":[{"text":"This dev container includes an up-to-date version of Git, built from source as needed, pre-installed and available on the `PATH`."}]}}}}, {"remoteUser":"vscode"} ]
# 2025-09-04 00:01:33 0.00B 指定运行容器时使用的用户
USER root
# 2025-09-04 00:01:33 0.00B 定义构建参数
ARG _DEV_CONTAINERS_IMAGE_USER=root
# 2025-09-04 00:01:33 366.39MB 执行命令并创建新的镜像层
RUN /bin/sh -c cp -ar /tmp/build-features-src/git_1 /tmp/dev-container-features && chmod -R 0755 /tmp/dev-container-features/git_1 && cd /tmp/dev-container-features/git_1 && chmod +x ./devcontainer-features-install.sh && ./devcontainer-features-install.sh && rm -rf /tmp/dev-container-features/git_1 # buildkit
# 2025-09-03 23:58:57 209.21MB 执行命令并创建新的镜像层
RUN /bin/sh -c cp -ar /tmp/build-features-src/common-utils_0 /tmp/dev-container-features && chmod -R 0755 /tmp/dev-container-features/common-utils_0 && cd /tmp/dev-container-features/common-utils_0 && chmod +x ./devcontainer-features-install.sh && ./devcontainer-features-install.sh && rm -rf /tmp/dev-container-features/common-utils_0 # buildkit
# 2025-09-03 23:58:34 87.00B 执行命令并创建新的镜像层
RUN /bin/sh -c echo "_CONTAINER_USER_HOME=$( (command -v getent >/dev/null 2>&1 && getent passwd 'root' || grep -E '^root|^[^:]*:[^:]*:root:' /etc/passwd || true) | cut -d: -f6)" >> /tmp/dev-container-features/devcontainer-features.builtin.env && echo "_REMOTE_USER_HOME=$( (command -v getent >/dev/null 2>&1 && getent passwd 'vscode' || grep -E '^vscode|^[^:]*:[^:]*:vscode:' /etc/passwd || true) | cut -d: -f6)" >> /tmp/dev-container-features/devcontainer-features.builtin.env # buildkit
# 2025-09-03 23:58:34 41.00B 复制新文件或目录到容器中
COPY /tmp/build-features/ /tmp/dev-container-features # buildkit
# 2025-09-03 23:58:34 0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c mkdir -p /tmp/dev-container-features # buildkit
# 2025-09-03 23:58:34 0.00B 指定运行容器时使用的用户
USER root
# 2025-09-03 23:58:34 0.00B 添加元数据标签
LABEL dev.containers.timestamp=Wed, 03 Sep 2025 15:57:44 GMT
# 2025-09-03 23:58:34 0.00B 添加元数据标签
LABEL dev.containers.source=https://github.com/devcontainers/images
# 2025-09-03 23:58:34 0.00B 添加元数据标签
LABEL dev.containers.release=v0.4.18
# 2025-09-03 23:58:34 0.00B 添加元数据标签
LABEL dev.containers.variant=jammy
# 2025-09-03 23:58:34 0.00B 添加元数据标签
LABEL dev.containers.id=base-ubuntu
# 2025-09-03 23:58:34 0.00B 添加元数据标签
LABEL version=2.0.4
# 2025-09-03 23:58:34 295.00B 复制新文件或目录到容器中
COPY meta.env /usr/local/etc/vscode-dev-containers/ # buildkit
# 2025-09-03 23:58:34 0.00B 执行命令并创建新的镜像层
RUN |1 VARIANT=jammy /bin/sh -c if [ "$VARIANT" = "noble" ]; then if id "ubuntu" &>/dev/null; then echo "Deleting user 'ubuntu' for $VARIANT" && userdel -f -r ubuntu || echo "Failed to delete ubuntu user for $VARIANT"; else echo "User 'ubuntu' does not exist for $VARIANT"; fi; fi # buildkit
# 2025-09-03 23:58:34 0.00B 定义构建参数
ARG VARIANT
# 2025-09-03 23:58:34 0.00B 添加元数据标签
LABEL dev.containers.features=common
# 2023-04-29 05:58:08 17.13MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl gnupg netbase wget tzdata ; rm -rf /var/lib/apt/lists/* # buildkit
# 2023-04-29 05:58:08 0.00B
/bin/sh -c #(nop) CMD ["/bin/bash"]
# 2023-04-29 05:58:08 77.87MB
/bin/sh -c #(nop) ADD file:9303cc1f788d2a9a8f909b154339f7c637b2a53c75c0e7f3da62eb1fefe371b1 in /
# 2023-04-29 05:58:08 0.00B
/bin/sh -c #(nop) LABEL org.opencontainers.image.version=22.04
# 2023-04-29 05:58:08 0.00B
/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
# 2023-04-29 05:58:08 0.00B
/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
# 2023-04-29 05:58:08 0.00B
/bin/sh -c #(nop) ARG RELEASE
镜像信息
{
"Id": "sha256:ef98798ff4f874c66f0aa4503dbcd3aecdf3e3ffe91a36a6a30ba748c26ccfe2",
"RepoTags": [
"mcr.microsoft.com/devcontainers/base:jammy",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/mcr.microsoft.com/devcontainers/base:jammy"
],
"RepoDigests": [
"mcr.microsoft.com/devcontainers/base@sha256:ea0615c10a5f04649532bf84aca5e1d987357bc76f29d490ac3890f45f7fbf37",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/mcr.microsoft.com/devcontainers/base@sha256:7d9ed35bbdcf11d06a6255c75a8305904547aa9184d02e841c8e7b1ba9144866"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2025-09-03T16:01:33.487489561Z",
"Container": "",
"ContainerConfig": null,
"DockerVersion": "",
"Author": "",
"Config": {
"Hostname": "",
"Domainname": "",
"User": "root",
"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"
],
"Cmd": [
"/bin/bash"
],
"Image": "",
"Volumes": null,
"WorkingDir": "",
"Entrypoint": null,
"OnBuild": null,
"Labels": {
"dev.containers.features": "common",
"dev.containers.id": "base-ubuntu",
"dev.containers.release": "v0.4.18",
"dev.containers.source": "https://github.com/devcontainers/images",
"dev.containers.timestamp": "Wed, 03 Sep 2025 15:57:44 GMT",
"dev.containers.variant": "jammy",
"devcontainer.metadata": "[ {\"id\":\"ghcr.io/devcontainers/features/common-utils:2\"}, {\"id\":\"ghcr.io/devcontainers/features/git:1\",\"customizations\":{\"vscode\":{\"settings\":{\"github.copilot.chat.codeGeneration.instructions\":[{\"text\":\"This dev container includes an up-to-date version of Git, built from source as needed, pre-installed and available on the `PATH`.\"}]}}}}, {\"remoteUser\":\"vscode\"} ]",
"org.opencontainers.image.ref.name": "ubuntu",
"org.opencontainers.image.version": "22.04",
"version": "2.0.4"
}
},
"Architecture": "amd64",
"Os": "linux",
"Size": 670605761,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/35ed67cfd26406699cf05238c37c8f9fe2c0538dd28b0a9922dc9b88e80b2ec5/diff:/var/lib/docker/overlay2/c5a700a0054a66091bd276273ea44b79dd72bf9bf3cfd85af792e6a994332913/diff:/var/lib/docker/overlay2/a8184e5b5242a141c5016f2f7914770df1b02bd2fdafe5ad162a8d74fa835d46/diff:/var/lib/docker/overlay2/aefe8cf0d2672577746c570bc28a1d6d0fe0ea6222079e15ee7bfedf92c1e707/diff:/var/lib/docker/overlay2/6eb666617a5529029371825ed52f19a5b761e562cacac6b7ae75f87ad290ab3c/diff:/var/lib/docker/overlay2/f1ee20b63741fdaa0456e06420361fabea76c29a59a97cb0bfa100544b609031/diff:/var/lib/docker/overlay2/191a960fb75bdcd78540b0066b307be8b975743428420b4b8bda6ac1e11ac30c/diff:/var/lib/docker/overlay2/686020265ba704bac267cf5b6fc8dfaf73aa31d484836dd3225bbe9a3899f285/diff",
"MergedDir": "/var/lib/docker/overlay2/781541b8c75657ce67e9f7d3bf9647ad5c8d1065d4ecec4e8ea4e6fa3374a8ba/merged",
"UpperDir": "/var/lib/docker/overlay2/781541b8c75657ce67e9f7d3bf9647ad5c8d1065d4ecec4e8ea4e6fa3374a8ba/diff",
"WorkDir": "/var/lib/docker/overlay2/781541b8c75657ce67e9f7d3bf9647ad5c8d1065d4ecec4e8ea4e6fa3374a8ba/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:dc6eb6dad5f9e332f00af553440e857b1467db1be43dd910cdb6830ba0898d50",
"sha256:52c80f44dec7c4fd6e37478e9d8269a5beb71475ec3fb1af28da8f81367a1047",
"sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
"sha256:69d4664e7c04e01e98fac92682639a1cd78080af712b0df9016313fe0d208546",
"sha256:9a1dfc3b0651bf2fefb59cd30cbe3cd5ba9b909533d6fb97ca80a91c99d20c79",
"sha256:30522481a738b8e384c53c8c9baa732e5d2fff3ef3559a3184ba732ffa6714a0",
"sha256:fd35503e7bf0c29e4202db115268c00a25ce81881ade00dd015b464a26b0b934",
"sha256:f77fc273b4c5a8b766b01ec6cd592db5a674bf7c6bfac29ad7d3469c8776f327",
"sha256:26b96444c21a9ac596133504fa848f3df38ebc226a532e8bba2a3be9105fedb1"
]
},
"Metadata": {
"LastTagTime": "2025-09-04T11:03:47.121099147+08:00"
}
}