镜像构建历史
# 2026-06-26 07:29:03 167.01MB 执行命令并创建新的镜像层
RUN |5 SWIFT_SIGNING_KEY=52BB7E3DE28A71BE22EC05FFEF80A866B47A981F SWIFT_PLATFORM=ubi9 SWIFT_BRANCH=swift-6.3.2-release SWIFT_VERSION=swift-6.3.2-RELEASE SWIFT_WEBROOT=https://download.swift.org /bin/sh -c set -e; ARCH_NAME="$(rpm --eval '%{_arch}')"; url=; case "${ARCH_NAME##*-}" in 'x86_64') OS_ARCH_SUFFIX=''; ;; 'aarch64') OS_ARCH_SUFFIX='-aarch64'; ;; *) echo >&2 "error: unsupported architecture: '$ARCH_NAME'"; exit 1 ;; esac; SWIFT_WEBDIR="$SWIFT_WEBROOT/$SWIFT_BRANCH/$(echo $SWIFT_PLATFORM | tr -d .)$OS_ARCH_SUFFIX" && SWIFT_BIN_URL="$SWIFT_WEBDIR/$SWIFT_VERSION/$SWIFT_VERSION-$SWIFT_PLATFORM$OS_ARCH_SUFFIX.tar.gz" && SWIFT_SIG_URL="$SWIFT_BIN_URL.sig" && export GNUPGHOME="$(mktemp -d)" && curl -fsSL "$SWIFT_BIN_URL" -o swift.tar.gz "$SWIFT_SIG_URL" -o swift.tar.gz.sig && gpg --batch --quiet --keyserver keyserver.ubuntu.com --recv-keys "$SWIFT_SIGNING_KEY" && gpg --batch --verify swift.tar.gz.sig swift.tar.gz && yum -y install tar gzip && tar -xzf swift.tar.gz --directory / --strip-components=1 $SWIFT_VERSION-$SWIFT_PLATFORM$OS_ARCH_SUFFIX/usr/lib/swift/linux $SWIFT_VERSION-$SWIFT_PLATFORM$OS_ARCH_SUFFIX/usr/libexec/swift/linux && chmod -R o+r /usr/lib/swift /usr/libexec/swift && rm -rf "$GNUPGHOME" swift.tar.gz.sig swift.tar.gz # buildkit
# 2026-06-26 07:29:03 0.00B 设置环境变量 SWIFT_SIGNING_KEY SWIFT_PLATFORM SWIFT_BRANCH SWIFT_VERSION SWIFT_WEBROOT
ENV SWIFT_SIGNING_KEY=52BB7E3DE28A71BE22EC05FFEF80A866B47A981F SWIFT_PLATFORM=ubi9 SWIFT_BRANCH=swift-6.3.2-release SWIFT_VERSION=swift-6.3.2-RELEASE SWIFT_WEBROOT=https://download.swift.org
# 2026-06-26 07:29:03 0.00B 定义构建参数
ARG SWIFT_WEBROOT=https://download.swift.org
# 2026-06-26 07:29:03 0.00B 定义构建参数
ARG SWIFT_VERSION=swift-6.3.2-RELEASE
# 2026-06-26 07:29:03 0.00B 定义构建参数
ARG SWIFT_BRANCH=swift-6.3.2-release
# 2026-06-26 07:29:03 0.00B 定义构建参数
ARG SWIFT_PLATFORM=ubi9
# 2026-06-26 07:29:03 0.00B 定义构建参数
ARG SWIFT_SIGNING_KEY=52BB7E3DE28A71BE22EC05FFEF80A866B47A981F
# 2026-06-26 07:29:03 0.00B 添加元数据标签
LABEL description=Docker Container for the Swift programming language
# 2026-06-26 07:29:03 0.00B 添加元数据标签
LABEL maintainer=Swift Infrastructure <swift-infrastructure@forums.swift.org>
# 2026-06-25 13:38:46 212.08MB
/bin/sh -c #(nop) LABEL "org.opencontainers.image.created"="2026-06-25T05:38:13Z" "org.opencontainers.image.revision"="5f0052ae5ad6e692325f20b47f9a15830ba43ef2" "build-date"="2026-06-25T05:38:13Z" "architecture"="x86_64" "vcs-ref"="5f0052ae5ad6e692325f20b47f9a15830ba43ef2" "vcs-type"="git" "release"="1782365825"org.opencontainers.image.created=2026-06-25T05:38:13Z,org.opencontainers.image.revision=5f0052ae5ad6e692325f20b47f9a15830ba43ef2
# 2026-06-25 13:38:45 0.00B
/bin/sh -c #(nop) COPY dir:20961462c5205530b67f6f5f7c5374ed5e9ac3b372062cbe2067844563d2515d in /root/buildinfo/
# 2026-06-25 13:38:45 0.00B
/bin/sh -c #(nop) COPY dir:20961462c5205530b67f6f5f7c5374ed5e9ac3b372062cbe2067844563d2515d in /usr/share/buildinfo/
# 2026-06-25 13:38:45 0.00B
/bin/sh -c #(nop) CMD ["/bin/bash"]
# 2026-06-25 13:38:45 0.00B
/bin/sh -c #(nop) COPY file:1376702515d596f414e3aa494e0daa6d408a6d2475c4aeca96bf9392f5287f69 in /etc/yum.repos.d/.
# 2026-06-25 13:38:45 0.00B
/bin/sh -c #(nop) COPY dir:45515cc5ec4c8c670413a5c6b236985cfad9a25da303502cddf18e5647660bcc in /
# 2026-06-25 13:38:43 0.00B
/bin/sh -c #(nop) ENV container oci
# 2026-06-25 13:38:43 0.00B
/bin/sh -c #(nop) LABEL io.openshift.tags="base rhel9"
# 2026-06-25 13:38:43 0.00B
/bin/sh -c #(nop) LABEL io.openshift.expose-services=""
# 2026-06-25 13:38:43 0.00B
/bin/sh -c #(nop) LABEL io.k8s.display-name="Red Hat Universal Base Image 9"
# 2026-06-25 13:38:43 0.00B
/bin/sh -c #(nop) LABEL io.k8s.description="The Universal Base Image is designed and engineered to be the base layer for all of your containerized applications, middleware and utilities. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly."
# 2026-06-25 13:38:43 0.00B
/bin/sh -c #(nop) LABEL description="The Universal Base Image is designed and engineered to be the base layer for all of your containerized applications, middleware and utilities. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly."
# 2026-06-25 13:38:43 0.00B
/bin/sh -c #(nop) LABEL summary="Provides the latest release of Red Hat Universal Base Image 9."
# 2026-06-25 13:38:43 0.00B
/bin/sh -c #(nop) LABEL com.redhat.license_terms="https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI"
# 2026-06-25 13:38:43 0.00B
/bin/sh -c #(nop) LABEL com.redhat.component="ubi9-container" name="ubi9/ubi" version="9.8" cpe="cpe:/a:redhat:enterprise_linux:9::appstream" distribution-scope="public"
# 2026-06-25 13:38:43 0.00B
/bin/sh -c #(nop) LABEL url="https://catalog.redhat.com/en/search?searchType=containers"
# 2026-06-25 13:38:43 0.00B
/bin/sh -c #(nop) LABEL maintainer="Red Hat, Inc." vendor="Red Hat, Inc."
镜像信息
{
"Id": "sha256:62a235e947f2fb645abbbebc1b98404cd01ea9cd4ee00506c5652322068019c6",
"RepoTags": [
"swift:rhel-ubi9-slim",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/swift:rhel-ubi9-slim"
],
"RepoDigests": [
"swift@sha256:c83367d3dcfdeb905ab13854c43d73f636d03a37fda61b0c3d1925cf73d0d219",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/swift@sha256:610c435efc91ae42503e78aed87a4da78b489a5565f4faf7f202b7cceed183d9"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2026-06-25T23:29:03.294150768Z",
"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",
"container=oci",
"SWIFT_SIGNING_KEY=52BB7E3DE28A71BE22EC05FFEF80A866B47A981F",
"SWIFT_PLATFORM=ubi9",
"SWIFT_BRANCH=swift-6.3.2-release",
"SWIFT_VERSION=swift-6.3.2-RELEASE",
"SWIFT_WEBROOT=https://download.swift.org"
],
"Cmd": [
"/bin/bash"
],
"Image": "",
"Volumes": null,
"WorkingDir": "/",
"Entrypoint": null,
"OnBuild": null,
"Labels": {
"architecture": "x86_64",
"build-date": "2026-06-25T05:38:13Z",
"com.redhat.component": "ubi9-container",
"com.redhat.license_terms": "https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI",
"cpe": "cpe:/a:redhat:enterprise_linux:9::appstream",
"description": "Docker Container for the Swift programming language",
"distribution-scope": "public",
"io.buildah.version": "1.44.0",
"io.k8s.description": "The Universal Base Image is designed and engineered to be the base layer for all of your containerized applications, middleware and utilities. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly.",
"io.k8s.display-name": "Red Hat Universal Base Image 9",
"io.openshift.expose-services": "",
"io.openshift.tags": "base rhel9",
"maintainer": "Swift Infrastructure \u003cswift-infrastructure@forums.swift.org\u003e",
"name": "ubi9/ubi",
"org.opencontainers.image.created": "2026-06-25T05:38:13Z",
"org.opencontainers.image.revision": "5f0052ae5ad6e692325f20b47f9a15830ba43ef2",
"release": "1782365825",
"summary": "Provides the latest release of Red Hat Universal Base Image 9.",
"url": "https://catalog.redhat.com/en/search?searchType=containers",
"vcs-ref": "5f0052ae5ad6e692325f20b47f9a15830ba43ef2",
"vcs-type": "git",
"vendor": "Red Hat, Inc.",
"version": "9.8"
}
},
"Architecture": "amd64",
"Os": "linux",
"Size": 379092250,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/81caae76d7024f8f36c5481c225c27d802446f0b0db6989df091efa95be9d079/diff",
"MergedDir": "/var/lib/docker/overlay2/09b60e1212148ba1bbb5ecf2f9af16c94fa363cec546a406818396d02f3e09e8/merged",
"UpperDir": "/var/lib/docker/overlay2/09b60e1212148ba1bbb5ecf2f9af16c94fa363cec546a406818396d02f3e09e8/diff",
"WorkDir": "/var/lib/docker/overlay2/09b60e1212148ba1bbb5ecf2f9af16c94fa363cec546a406818396d02f3e09e8/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:4cdfd50b5c5f4eb4eb61d4241d641ea4201796903958462ffa8b6abab8f5a15a",
"sha256:809634d36aca3e60a3396cee7d1bbcd37c9fc68fca4d7a40b81afbb45eb75126"
]
},
"Metadata": {
"LastTagTime": "2026-06-29T18:13:07.39666745+08:00"
}
}