镜像构建历史
# 2025-07-10 19:43:01 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-07-10 19:43:01 0.00B 指定运行容器时使用的用户
USER root
# 2025-07-10 19:43:01 0.00B 定义构建参数
ARG _DEV_CONTAINERS_IMAGE_USER=root
# 2025-07-10 19:43:01 404.50MB 执行命令并创建新的镜像层
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-07-10 19:40:19 202.63MB 执行命令并创建新的镜像层
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-07-10 19:39:56 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-07-10 19:39:56 41.00B 复制新文件或目录到容器中
COPY /tmp/build-features/ /tmp/dev-container-features # buildkit
# 2025-07-10 19:39:56 0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c mkdir -p /tmp/dev-container-features # buildkit
# 2025-07-10 19:39:56 0.00B 指定运行容器时使用的用户
USER root
# 2025-07-10 19:39:56 0.00B 添加元数据标签
LABEL dev.containers.timestamp=Thu, 10 Jul 2025 11:39:37 GMT
# 2025-07-10 19:39:56 0.00B 添加元数据标签
LABEL dev.containers.source=https://github.com/devcontainers/images
# 2025-07-10 19:39:56 0.00B 添加元数据标签
LABEL dev.containers.release=v0.4.17
# 2025-07-10 19:39:56 0.00B 添加元数据标签
LABEL dev.containers.variant=noble
# 2025-07-10 19:39:56 0.00B 添加元数据标签
LABEL dev.containers.id=base-ubuntu
# 2025-07-10 19:39:56 0.00B 添加元数据标签
LABEL version=2.0.3
# 2025-07-10 19:39:56 295.00B 复制新文件或目录到容器中
COPY meta.env /usr/local/etc/vscode-dev-containers/ # buildkit
# 2025-07-10 19:39:56 4.47KB 执行命令并创建新的镜像层
RUN |1 VARIANT=noble /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-07-10 19:39:56 0.00B 定义构建参数
ARG VARIANT
# 2025-07-10 19:39:56 0.00B 添加元数据标签
LABEL dev.containers.features=common
# 2024-05-23 04:42:04 33.72MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl gnupg netbase sq wget tzdata ; apt-get dist-clean # buildkit
# 2024-05-23 04:42:04 0.00B
/bin/sh -c #(nop) CMD ["/bin/bash"]
# 2024-05-23 04:42:04 78.12MB
/bin/sh -c #(nop) ADD file:0ebb3dd98809cffc1b5ade76d8ccac01def087e7d7a84a84a33db4aa9090ac67 in /
# 2024-05-23 04:42:04 0.00B
/bin/sh -c #(nop) LABEL org.opencontainers.image.version=24.04
# 2024-05-23 04:42:04 0.00B
/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
# 2024-05-23 04:42:04 0.00B
/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
# 2024-05-23 04:42:04 0.00B
/bin/sh -c #(nop) ARG RELEASE
镜像信息
{
"Id": "sha256:72215ac5b65b36fd5bcccf755b2ac856d381c1cfe459dde8a5bdb0bb3e70c419",
"RepoTags": [
"mcr.microsoft.com/devcontainers/base:ubuntu-24.04",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/mcr.microsoft.com/devcontainers/base:ubuntu-24.04"
],
"RepoDigests": [
"mcr.microsoft.com/devcontainers/base@sha256:daa08ddb48ad4e4e7367c348e0a6f250762f1f0d8348f1f9acbef5f884ce093d",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/mcr.microsoft.com/devcontainers/base@sha256:ab98d87e16226139fb78f4dc5413e36c829771b27ac5c59b46ad020b188f69ac"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2025-07-10T11:43:01.851233469Z",
"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.17",
"dev.containers.source": "https://github.com/devcontainers/images",
"dev.containers.timestamp": "Thu, 10 Jul 2025 11:39:37 GMT",
"dev.containers.variant": "noble",
"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": "24.04",
"version": "2.0.3"
}
},
"Architecture": "amd64",
"Os": "linux",
"Size": 718974238,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/6f02afd52fdc37970644ed95ad510554853addbc96011fbff18793f61887d8d6/diff:/var/lib/docker/overlay2/f49c75ecf58cccf41d1a9113bbe0b0a9ee417aa91d6b01edc6d53ed242833a30/diff:/var/lib/docker/overlay2/56b972cae2b74568603679714818dd3e05534e2c13577fd2893d4d9b870ef04c/diff:/var/lib/docker/overlay2/4fadb217e43d21d74884e9006faecd26cf661a8c3045ce80ca17720d8c977512/diff:/var/lib/docker/overlay2/86aef7f43f39e8b6c1bd434de05b601283a06d00788f27c11dce754317169489/diff:/var/lib/docker/overlay2/f114e926bd369879ec193f57c2171e1cc8d230df9cf23f0542e3d5919dcae160/diff:/var/lib/docker/overlay2/7d101864e9631ec2a20a793afffa3f6781b7830e71cdcd0e047616784267e604/diff:/var/lib/docker/overlay2/712b695c72e960b0c7bd94b49a3a700798aa0ef769dd989a5100431a9593c20d/diff",
"MergedDir": "/var/lib/docker/overlay2/b5f9365ebc5426d36121b1de3ef0d2ed0a263cd1820a9ad1e03580548cfb5d1b/merged",
"UpperDir": "/var/lib/docker/overlay2/b5f9365ebc5426d36121b1de3ef0d2ed0a263cd1820a9ad1e03580548cfb5d1b/diff",
"WorkDir": "/var/lib/docker/overlay2/b5f9365ebc5426d36121b1de3ef0d2ed0a263cd1820a9ad1e03580548cfb5d1b/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:45a01f98e78ce09e335b30d7a3080eecab7f50dfa0b38ca44a9dee2654ac0530",
"sha256:c0a6fe234b3a9c56ceb1ec675eb38a5c4795094e14c807366b546042f04f7fe3",
"sha256:3f5317cc1b30bd9dad2283812126227c8f6a380a4145d77461ac136e1a087d9a",
"sha256:7b26a62905a2dac3d78f9ed3c2f2c34581b92c18f2cd88fea7748b9ca8069865",
"sha256:7871df3b4173a45ad3f6e77bd4a65954414a8948c0ca90eb81401ef0f236588f",
"sha256:e2efea4d31cad477f3e4f06a315c52c43eff7337ee30d30fea40806224eb43fd",
"sha256:3e2aef311036d01fd20b3bd9fc9e09c11005695ac5d41c35e454a75790496974",
"sha256:dda722bd78397822a45a2090ad8f2f6b75d62c0310518e429d60e4f08da5534b",
"sha256:9e27012a0b3a825c9743ee6181f7d9e3ae3d97f8a3a87a126de1639d17f09031"
]
},
"Metadata": {
"LastTagTime": "2025-07-11T16:54:57.955104735+08:00"
}
}