镜像构建历史
# 2025-09-01 14:08:27 0.00B 执行命令并创建新的镜像层
RUN |1 R_VERSION=release /bin/sh -c R -e 'for (p in getOption("defaultPackages")) { library(p, character.only=TRUE) }' # buildkit
# 2025-09-01 14:08:26 0.00B 设置环境变量 _R_CHECK_BASHISMS_
ENV _R_CHECK_BASHISMS_=false
# 2025-09-01 14:08:26 1.09GB 执行命令并创建新的镜像层
RUN |1 R_VERSION=release /bin/sh -c subscription-manager register --org `cat /run/secrets/REDHAT_ORG_RHEL7` --activationkey `cat /run/secrets/REDHAT_ACTIVATION_KEY_RHEL7` && yum install -y https://archives.fedoraproject.org/pub/archive/epel/7/x86_64/Packages/e/epel-release-7-14.noarch.rpm && yum install -y https://github.com/r-lib/rig/releases/download/latest/r-rig-latest-1.$(arch).rpm && rig add ${R_VERSION} && yum install -y harfbuzz-devel fribidi-devel libtiff-devel devscripts-minimal patch && yum clean all && rm -rf /tmp/* && subscription-manager unregister # buildkit
# 2025-09-01 14:06:22 0.00B 设置环境变量 PKG_SYSREQS_PLATFORM
ENV PKG_SYSREQS_PLATFORM=redhat-7
# 2025-09-01 14:06:22 0.00B 设置环境变量 RIG_PLATFORM
ENV RIG_PLATFORM=rhel-7
# 2025-09-01 14:06:22 0.00B 执行命令并创建新的镜像层
RUN |1 R_VERSION=release /bin/sh -c rm /etc/rhsm-host # buildkit
# 2025-09-01 14:06:22 0.00B 定义构建参数
ARG R_VERSION=release
# 2024-05-29 11:08:23 209.35MB
/bin/sh -c mv -fZ /tmp/ubi.repo /etc/yum.repos.d/ubi.repo || :
# 2024-05-29 11:08:21 0.00B
/bin/sh -c rm -f /tmp/tls-ca-bundle.pem
# 2024-05-29 11:08:20 0.00B
/bin/sh -c rm -f '/etc/yum.repos.d/compose-rpms-Server-3-09580.repo'
# 2024-05-29 11:08:20 0.00B
/bin/sh -c #(nop) LABEL "distribution-scope"="public" "vendor"="Red Hat, Inc." "build-date"="2024-05-29T03:00:15" "architecture"="x86_64" "vcs-type"="git" "vcs-ref"="a4e710a688a6374670ecdd56637c3f683d11cbe3" "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." "url"="https://access.redhat.com/containers/#/registry.access.redhat.com/ubi7/images/7.9-1445"
# 2024-05-29 11:08:20 0.00B
/bin/sh -c #(nop) ADD file:d37b75e85e78342a939327a5be40f349a146686ddde8918b97c67743e9482a1e in /root/buildinfo/Dockerfile-ubi7-7.9-1445
# 2024-05-29 11:08:20 0.00B
/bin/sh -c #(nop) ADD file:2ae1b53aeae8c930196b5861bcc45f68eb20506349eab6024691f4d1bfb8fdd5 in /root/buildinfo/content_manifests/ubi7-container-7.9-1445.json
# 2024-05-29 11:08:19 0.00B
/bin/sh -c #(nop) LABEL release=1445
# 2024-05-29 11:08:19 0.00B
/bin/sh -c #(nop) CMD ["/bin/bash"]
# 2024-05-29 11:08:19 0.00B
/bin/sh -c #(nop) ENV PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
# 2024-05-29 11:08:19 0.00B
/bin/sh -c #(nop) ENV container oci
# 2024-05-29 11:08:19 0.00B
/bin/sh -c #(nop) LABEL io.openshift.tags="base rhel7"
# 2024-05-29 11:08:19 0.00B
/bin/sh -c #(nop) LABEL io.k8s.display-name="Red Hat Universal Base Image 7"
# 2024-05-29 11:08:19 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."
# 2024-05-29 11:08:19 0.00B
/bin/sh -c #(nop) LABEL summary="Provides the latest release of the Red Hat Universal Base Image 7."
# 2024-05-29 11:08:19 0.00B
/bin/sh -c #(nop) LABEL com.redhat.license_terms="https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI"
# 2024-05-29 11:08:19 0.00B
/bin/sh -c #(nop) LABEL version="7.9"
# 2024-05-29 11:08:19 0.00B
/bin/sh -c #(nop) LABEL name="ubi7"
# 2024-05-29 11:08:19 0.00B
/bin/sh -c #(nop) LABEL com.redhat.component="ubi7-container"
# 2024-05-29 11:08:19 0.00B
/bin/sh -c #(nop) MAINTAINER Red Hat, Inc.
# 2024-05-29 11:08:19 0.00B
/bin/sh -c #(nop) ADD file:a2f9792f124dcfcb102db07fe0c86c5e36e351cf6f70997792363871860dd69b in /etc/yum.repos.d/
# 2024-05-29 11:08:19 0.00B
/bin/sh -c #(nop) ADD file:5b1f650e1376d79fa3a65df4a154ea5166def95154b52c1c1097dfd8fc7d58eb in /tmp/tls-ca-bundle.pem
# 2024-05-29 11:08:19 0.00B
/bin/sh -c mv -f /etc/yum.repos.d/ubi.repo /tmp || :
# 2024-05-29 11:08:18 0.00B
/bin/sh -c #(nop) ADD file:8de69e114749549726aa28936373b64669306a404556c67776fe20bcc2cc9e54 in /
镜像信息
{
"Id": "sha256:aa436c9aa8c19c09e3ef949706b20fbcf3c7e21c78ed2286fae19f64e90a6012",
"RepoTags": [
"rhub/rhel7:latest",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rhub/rhel7:latest"
],
"RepoDigests": [
"rhub/rhel7@sha256:7c2226f779caf2491c366b36f7a0a3c44937760abf7f44555b8827d26825fe2e",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rhub/rhel7@sha256:95564f3b3bdc3397c1e22439ccc66eec55b69b77576de43d8122f1df18e332e6"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2025-09-01T06:08:27.162083147Z",
"Container": "",
"ContainerConfig": null,
"DockerVersion": "",
"Author": "Red Hat, Inc.",
"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",
"RIG_PLATFORM=rhel-7",
"PKG_SYSREQS_PLATFORM=redhat-7",
"_R_CHECK_BASHISMS_=false"
],
"Cmd": [
"/bin/bash"
],
"Image": "",
"Volumes": null,
"WorkingDir": "",
"Entrypoint": null,
"OnBuild": null,
"Labels": {
"architecture": "x86_64",
"build-date": "2024-05-29T03:00:15",
"com.redhat.component": "ubi7-container",
"com.redhat.license_terms": "https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI",
"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.",
"distribution-scope": "public",
"io.buildah.version": "1.29.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 7",
"io.openshift.tags": "base rhel7",
"name": "ubi7",
"release": "1445",
"summary": "Provides the latest release of the Red Hat Universal Base Image 7.",
"url": "https://access.redhat.com/containers/#/registry.access.redhat.com/ubi7/images/7.9-1445",
"vcs-ref": "a4e710a688a6374670ecdd56637c3f683d11cbe3",
"vcs-type": "git",
"vendor": "Red Hat, Inc.",
"version": "7.9"
}
},
"Architecture": "amd64",
"Os": "linux",
"Size": 1299594514,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/8644f4b61957583d72be7fd53d86a410b8dc304f6e5a5d0aa124ab0a619a60a5/diff:/var/lib/docker/overlay2/1d5cc9d47e9fceed4bb59701fe28bbd0511ce9ec98a1c6287646898c79211513/diff:/var/lib/docker/overlay2/bc956edadbf457721d974429906439d56896aa439cd7bfc8c238d73cf6301da8/diff",
"MergedDir": "/var/lib/docker/overlay2/93337302f3f172bd75026850dae79beb1660478deb835d64afbbbc1ea0861d08/merged",
"UpperDir": "/var/lib/docker/overlay2/93337302f3f172bd75026850dae79beb1660478deb835d64afbbbc1ea0861d08/diff",
"WorkDir": "/var/lib/docker/overlay2/93337302f3f172bd75026850dae79beb1660478deb835d64afbbbc1ea0861d08/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:be1f7344519a2b9b41aa7154581b1b5503c2168abb3bc1edc99b656dca2426fe",
"sha256:4d91129205067bb7c0dc3b88f8ff83045e085b4085b867c13d3b71cfe3b0abae",
"sha256:cfcd33d73019650eeb46d41b034327a3c7b57bf8535ac048567bea6b00f93ea8",
"sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
]
},
"Metadata": {
"LastTagTime": "2025-09-02T11:05:08.627020723+08:00"
}
}