镜像构建历史
# 2022-08-10 05:26:27 804.94MB
/bin/sh -c yum install -y epel-release && yum install -y jq && bash -c ' if [ -n "nfs-ganesha nfs-ganesha-ceph nfs-ganesha-rgw nfs-ganesha-rados-grace nfs-ganesha-rados-urls" ]; then if [[ "${CEPH_VERSION}" == master || "${CEPH_VERSION}" == main ]]; then curl -s -L "https://shaman.ceph.com/api/repos/nfs-ganesha/next/latest/centos/8/flavors/ceph_main/repo?arch=$(arch)" -o /etc/yum.repos.d/ganesha.repo ; elif [[ "${CEPH_VERSION}" == quincy ]]; then echo "[ganesha]" > /etc/yum.repos.d/ganesha.repo ; echo "name=ganesha" >> /etc/yum.repos.d/ganesha.repo ; echo "baseurl=https://buildlogs.centos.org/centos/\$releasever/storage/\$basearch/nfsganesha-4/" >> /etc/yum.repos.d/ganesha.repo ; echo "gpgcheck=0" >> /etc/yum.repos.d/ganesha.repo ; echo "enabled=1" >> /etc/yum.repos.d/ganesha.repo ; elif [[ "${CEPH_VERSION}" == pacific ]]; then echo "[ganesha]" > /etc/yum.repos.d/ganesha.repo ; echo "name=ganesha" >> /etc/yum.repos.d/ganesha.repo ; echo "baseurl=https://download.ceph.com/nfs-ganesha/rpm-V3.5-stable/$CEPH_VERSION/el\$releasever/\$basearch/" >> /etc/yum.repos.d/ganesha.repo ; echo "gpgcheck=1" >> /etc/yum.repos.d/ganesha.repo ; echo "enabled=1" >> /etc/yum.repos.d/ganesha.repo ; echo "[ganesha-noarch]" >> /etc/yum.repos.d/ganesha.repo ; echo "name=ganesha-noarch" >> /etc/yum.repos.d/ganesha.repo ; echo "baseurl=https://download.ceph.com/nfs-ganesha/rpm-V3.5-stable/$CEPH_VERSION/el\$releasever/noarch/" >> /etc/yum.repos.d/ganesha.repo ; echo "gpgcheck=1" >> /etc/yum.repos.d/ganesha.repo ; echo "enabled=1" >> /etc/yum.repos.d/ganesha.repo ; elif [[ "${CEPH_VERSION}" == octopus ]]; then echo "[ganesha]" > /etc/yum.repos.d/ganesha.repo ; echo "name=ganesha" >> /etc/yum.repos.d/ganesha.repo ; echo "baseurl=https://download.ceph.com/nfs-ganesha/rpm-V3.3-stable/$CEPH_VERSION/el\$releasever/\$basearch/" >> /etc/yum.repos.d/ganesha.repo ; echo "gpgcheck=1" >> /etc/yum.repos.d/ganesha.repo ; echo "enabled=1" >> /etc/yum.repos.d/ganesha.repo ; echo "[ganesha-noarch]" >> /etc/yum.repos.d/ganesha.repo ; echo "name=ganesha-noarch" >> /etc/yum.repos.d/ganesha.repo ; echo "baseurl=https://download.ceph.com/nfs-ganesha/rpm-V3.3-stable/$CEPH_VERSION/el\$releasever/noarch/" >> /etc/yum.repos.d/ganesha.repo ; echo "gpgcheck=1" >> /etc/yum.repos.d/ganesha.repo ; echo "enabled=1" >> /etc/yum.repos.d/ganesha.repo ; elif [[ "${CEPH_VERSION}" == nautilus ]]; then echo "[ganesha]" > /etc/yum.repos.d/ganesha.repo ; echo "name=ganesha" >> /etc/yum.repos.d/ganesha.repo ; echo "baseurl=https://download.ceph.com/nfs-ganesha/rpm-V2.8-stable/$CEPH_VERSION/\$basearch/" >> /etc/yum.repos.d/ganesha.repo ; echo "gpgcheck=1" >> /etc/yum.repos.d/ganesha.repo ; echo "enabled=1" >> /etc/yum.repos.d/ganesha.repo ; else echo "[ganesha]" > /etc/yum.repos.d/ganesha.repo ; echo "name=ganesha" >> /etc/yum.repos.d/ganesha.repo ; echo "baseurl=https://download.ceph.com/nfs-ganesha/rpm-V2.7-stable/$CEPH_VERSION/\$basearch/" >> /etc/yum.repos.d/ganesha.repo ; echo "gpgcheck=1" >> /etc/yum.repos.d/ganesha.repo ; echo "enabled=1" >> /etc/yum.repos.d/ganesha.repo ; fi ; fi ; if [ -n "tcmu-runner ceph-iscsi python3-rtslib" ]; then curl -s -L https://shaman.ceph.com/api/repos/tcmu-runner/main/latest/centos/8/repo?arch=$(arch) -o /etc/yum.repos.d/tcmu-runner.repo ; if [[ "${CEPH_VERSION}" =~ master || "${CEPH_VERSION}" == main ]]; then curl -s -L https://shaman.ceph.com/api/repos/ceph-iscsi/main/latest/centos/8/repo -o /etc/yum.repos.d/ceph-iscsi.repo ; elif [[ "${CEPH_VERSION}" =~ nautilus|octopus|pacific|quincy ]]; then curl -s -L https://download.ceph.com/ceph-iscsi/3/rpm/el8/ceph-iscsi.repo -o /etc/yum.repos.d/ceph-iscsi.repo ; else curl -s -L https://download.ceph.com/ceph-iscsi/2/rpm/el8/ceph-iscsi.repo -o /etc/yum.repos.d/ceph-iscsi.repo ; fi ; fi' && yum update -y --setopt=install_weak_deps=False && rpm --import 'https://download.ceph.com/keys/release.asc' && if [[ "${CEPH_VERSION}" == nautilus ]]; then CEPH_MGR_K8SEVENTS="ceph-mgr-k8sevents-15.2.17"; if [[ -n "-15.2.17" ]]; then CPR=-15.2.17 ; if [[ ${CPR:1:2} -eq 14 ]] && [[ ${CPR:4:1} -eq 2 ]] && [[ ${CPR:6} -lt 5 ]]; then CEPH_MGR_K8SEVENTS="" ; fi ; fi ; fi && bash -c ' if [[ "${CEPH_VERSION}" =~ master || "${CEPH_VERSION}" == main ]] || ${CEPH_DEVEL}; then ARCH=$(arch); if [[ "${ARCH}" == "aarch64" ]]; then ARCH="arm64"; fi ; REPO_URL=$(curl -s "https://shaman.ceph.com/api/search/?project=ceph&distros=centos/8/${ARCH}&flavor=${OSD_FLAVOR}&ref=${CEPH_REF}&sha1=latest" | jq -r .[0].url); RELEASE_VER=0 ; if [[ "${OSD_FLAVOR}" == "crimson" ]]; then CRIMSON_PACKAGES="ceph-crimson-osd-15.2.17"; fi ; else RELEASE_VER=1 ; REPO_URL="http://download.ceph.com/rpm-${CEPH_VERSION}/el8/"; fi && rpm -Uvh "$REPO_URL/noarch/ceph-release-1-${RELEASE_VER}.el8.noarch.rpm" && if [[ 8 -eq 8 ]]; then yum install -y dnf-plugins-core ; yum copr enable -y tchaikov/python-scikit-learn ; yum copr enable -y tchaikov/python3-asyncssh ; fi ' && yum install -y --setopt=install_weak_deps=False ca-certificates e2fsprogs ceph-common-15.2.17 ceph-mon-15.2.17 ceph-osd-15.2.17 ceph-mds-15.2.17 rbd-mirror-15.2.17 ceph-mgr-15.2.17 ceph-mgr-cephadm-15.2.17 ceph-mgr-dashboard-15.2.17 ceph-mgr-diskprediction-local-15.2.17 ceph-mgr-k8sevents-15.2.17 ceph-mgr-rook-15.2.17 python3-saml ceph-grafana-dashboards-15.2.17 kmod lvm2 gdisk smartmontools nvme-cli libstoragemgmt systemd-udev procps-ng hostname ceph-radosgw-15.2.17 libradosstriper1-15.2.17 nfs-ganesha nfs-ganesha-ceph nfs-ganesha-rgw nfs-ganesha-rados-grace nfs-ganesha-rados-urls tcmu-runner ceph-iscsi python3-rtslib attr ceph-fuse-15.2.17 rbd-nbd-15.2.17 ${CRIMSON_PACKAGES} python3-scikit-learn && INITIAL_SIZE="$(bash -c 'sz="$(du -sm --exclude=/proc /)" ; echo "${sz%*/}"')" && echo 'Postinstall cleanup' && (rm -rf "/usr/bin/hyperkube /usr/bin/etcd /usr/bin/systemd-analyze /usr/share/hwdata/{iab.txt,oui.txt} /etc/profile.d/lang.sh" && yum clean all && rpm -q ca-certificates e2fsprogs ceph-common-15.2.17 ceph-mon-15.2.17 ceph-osd-15.2.17 ceph-mds-15.2.17 rbd-mirror-15.2.17 ceph-mgr-15.2.17 ceph-mgr-cephadm-15.2.17 ceph-mgr-dashboard-15.2.17 ceph-mgr-diskprediction-local-15.2.17 ceph-mgr-k8sevents-15.2.17 ceph-mgr-rook-15.2.17 python3-saml ceph-grafana-dashboards-15.2.17 kmod lvm2 gdisk smartmontools nvme-cli libstoragemgmt systemd-udev procps-ng hostname ceph-radosgw-15.2.17 libradosstriper1-15.2.17 nfs-ganesha nfs-ganesha-ceph nfs-ganesha-rgw nfs-ganesha-rados-grace nfs-ganesha-rados-urls tcmu-runner ceph-iscsi python3-rtslib attr ceph-fuse-15.2.17 rbd-nbd-15.2.17 ${CRIMSON_PACKAGES} python3-scikit-learn ) && sed -i -e 's/udev_rules = 1/udev_rules = 0/' -e 's/udev_sync = 1/udev_sync = 0/' -e 's/obtain_device_list_from_udev = 1/obtain_device_list_from_udev = 0/' /etc/lvm/lvm.conf && grep -sqo "udev_sync = 0" /etc/lvm/lvm.conf && grep -sqo "udev_rules = 0" /etc/lvm/lvm.conf && grep -sqo "obtain_device_list_from_udev = 0" /etc/lvm/lvm.conf && mkdir -p /var/run/ganesha && rm -rf /etc/{selinux,systemd,udev} /lib/{lsb,udev} /tmp/* /usr/lib{,64}/{locale,udev,dracut} /usr/share/{doc,info,locale,man} /usr/share/{bash-completion,pkgconfig/bash-completion.pc} /var/log/* /var/tmp/* && find / -xdev -name "*.pyc" -o -name "*.pyo" -exec rm -f {} \; && if [ -f /usr/bin/ceph-dencoder ]; then gzip -9 /usr/bin/ceph-dencoder; fi && rm -f /usr/lib/ceph/mgr/dashboard/static/AdminLTE-*/plugins/datatables/extensions/TableTools/images/psd/* && find /var/log/ -type f -exec truncate -s 0 {} \; && FINAL_SIZE="$(bash -c 'sz="$(du -sm --exclude=/proc /)" ; echo "${sz%*/}"')" && REMOVED_SIZE=$((INITIAL_SIZE - FINAL_SIZE)) && echo "Cleaning process removed ${REMOVED_SIZE}MB" && echo "Dropped container size from ${INITIAL_SIZE}MB to ${FINAL_SIZE}MB" && rpm -q ca-certificates e2fsprogs ceph-common-15.2.17 ceph-mon-15.2.17 ceph-osd-15.2.17 ceph-mds-15.2.17 rbd-mirror-15.2.17 ceph-mgr-15.2.17 ceph-mgr-cephadm-15.2.17 ceph-mgr-dashboard-15.2.17 ceph-mgr-diskprediction-local-15.2.17 ceph-mgr-k8sevents-15.2.17 ceph-mgr-rook-15.2.17 python3-saml ceph-grafana-dashboards-15.2.17 kmod lvm2 gdisk smartmontools nvme-cli libstoragemgmt systemd-udev procps-ng hostname ceph-radosgw-15.2.17 libradosstriper1-15.2.17 nfs-ganesha nfs-ganesha-ceph nfs-ganesha-rgw nfs-ganesha-rados-grace nfs-ganesha-rados-urls tcmu-runner ceph-iscsi python3-rtslib attr ceph-fuse-15.2.17 rbd-nbd-15.2.17 ${CRIMSON_PACKAGES} python3-scikit-learn && echo 'Packages verified successfully'
# 2022-08-10 05:22:14 0.00B
/bin/sh -c #(nop) ENV OSD_FLAVOR=default
# 2022-08-10 05:22:12 0.00B
/bin/sh -c #(nop) ENV CEPH_REF=octopus
# 2022-08-10 05:22:11 0.00B
/bin/sh -c #(nop) ENV CEPH_DEVEL=false
# 2022-08-10 05:22:10 0.00B
/bin/sh -c #(nop) ENV CEPH_POINT_RELEASE=-15.2.17
# 2022-08-10 05:22:08 0.00B
/bin/sh -c #(nop) ENV CEPH_VERSION=octopus
# 2022-08-10 05:22:07 0.00B
/bin/sh -c #(nop) LABEL CEPH_POINT_RELEASE=-15.2.17
# 2022-08-10 05:22:06 0.00B
/bin/sh -c #(nop) LABEL GIT_CLEAN=True
# 2022-08-10 05:22:05 0.00B
/bin/sh -c #(nop) LABEL GIT_COMMIT=1f81a8997854387bf9f2e2c8377c06aefae62ca9
# 2022-08-10 05:22:03 0.00B
/bin/sh -c #(nop) LABEL GIT_BRANCH=HEAD
# 2022-08-10 05:22:02 0.00B
/bin/sh -c #(nop) LABEL GIT_REPO=https://github.com/ceph/ceph-container.git
# 2022-08-10 05:22:01 0.00B
/bin/sh -c #(nop) LABEL RELEASE=HEAD
# 2022-08-10 05:21:59 0.00B
/bin/sh -c #(nop) LABEL ceph=True
# 2022-08-10 05:21:58 0.00B
/bin/sh -c #(nop) LABEL maintainer=Guillaume Abrioux <gabrioux@redhat.com>
# 2022-08-10 05:21:56 0.00B
/bin/sh -c #(nop) ENV I_AM_IN_A_CONTAINER=1
# 2022-08-04 23:35:30 144.62MB
/bin/sh -c rpm -ivh --nodeps --replacefiles *.rpm && rm *.rpm && rpm -e redhat-release && dnf --setopt=tsflags=nodocs --setopt=install_weak_deps=false -y distro-sync && dnf remove -y subscription-manager dnf-plugin-subscription-manager && dnf clean all && rm -f /etc/yum.repos.d/ubi.repo
# 2022-08-04 23:34:55 45.79MB
/bin/sh -c dnf download --repofrompath=centos,http://mirror.centos.org/centos/8-stream/BaseOS/x86_64/os/ --disablerepo=* --enablerepo=centos centos-stream-release centos-stream-repos centos-gpg-keys
# 2022-08-04 23:34:48 0.00B
/bin/sh -c #(nop) LABEL io.openshift.tags="base centos centos-stream"
# 2022-08-04 23:34:48 0.00B
/bin/sh -c #(nop) LABEL io.openshift.expose-services=""
# 2022-08-04 23:34:48 0.00B
/bin/sh -c #(nop) LABEL io.k8s.display-name="CentOS Stream 8"
# 2022-08-04 23:34:48 0.00B
/bin/sh -c #(nop) LABEL description="CentOS Stream is a continuously delivered distro that tracks just ahead of Red Hat Enterprise Linux development. This image takes the Red Hat UBI and layers on content from CentOS Stream"
# 2022-08-04 23:34:47 0.00B
/bin/sh -c #(nop) LABEL summary="Provides a CentOS Stream container based on the Red Hat Universal Base Image"
# 2022-08-04 23:34:47 0.00B
/bin/sh -c #(nop) LABEL com.redhat.license_terms="https://centos.org/legal/licensing-policy/"
# 2022-08-04 23:34:47 0.00B
/bin/sh -c #(nop) LABEL com.redhat.component="centos-stream-container" name="centos-stream" version="8"
# 2022-08-04 23:34:47 0.00B
/bin/sh -c #(nop) LABEL maintainer="The CentOS Project"
# 2022-07-26 20:34:36 4.72KB
# 2022-07-26 20:34:23 206.60MB
镜像信息
{
"Id": "sha256:93146564743febec815d6a764dad93fc07ce971e88315403ac508cb5da6d35f4",
"RepoTags": [
"quay.io/ceph/ceph:v15",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/quay.io/ceph/ceph:v15"
],
"RepoDigests": [
"quay.io/ceph/ceph@sha256:c08064dde4bba4e72a1f55d90ca32df9ef5aafab82efe2e0a0722444a5aaacca",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/quay.io/ceph/ceph@sha256:01551eec1460e5236eeb324c036ee8f9a05275fd2b4d7cc1fe13ddec38a3676a"
],
"Parent": "",
"Comment": "",
"Created": "2022-08-09T21:26:27.516547555Z",
"Container": "",
"ContainerConfig": null,
"DockerVersion": "20.10.7",
"Author": "",
"Config": {
"Hostname": "7323ecf6dc56",
"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",
"I_AM_IN_A_CONTAINER=1",
"CEPH_VERSION=octopus",
"CEPH_POINT_RELEASE=-15.2.17",
"CEPH_DEVEL=false",
"CEPH_REF=octopus",
"OSD_FLAVOR=default"
],
"Cmd": [
"/bin/bash"
],
"ArgsEscaped": true,
"Image": "sha256:748a9fb346330d464fcebb873af46a88f5b0ab567b10cdf635d45744b40cef00",
"Volumes": {},
"WorkingDir": "",
"Entrypoint": [],
"OnBuild": [],
"Labels": {
"CEPH_POINT_RELEASE": "-15.2.17",
"GIT_BRANCH": "HEAD",
"GIT_CLEAN": "True",
"GIT_COMMIT": "1f81a8997854387bf9f2e2c8377c06aefae62ca9",
"GIT_REPO": "https://github.com/ceph/ceph-container.git",
"RELEASE": "HEAD",
"architecture": "x86_64",
"build-date": "2022-07-26T12:34:08.928083",
"ceph": "True",
"com.redhat.build-host": "cpt-1008.osbs.prod.upshift.rdu2.redhat.com",
"com.redhat.component": "centos-stream-container",
"com.redhat.license_terms": "https://centos.org/legal/licensing-policy/",
"description": "CentOS Stream is a continuously delivered distro that tracks just ahead of Red Hat Enterprise Linux development. This image takes the Red Hat UBI and layers on content from CentOS Stream",
"distribution-scope": "public",
"io.buildah.version": "1.19.8",
"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": "CentOS Stream 8",
"io.openshift.expose-services": "",
"io.openshift.tags": "base centos centos-stream",
"maintainer": "Guillaume Abrioux \u003cgabrioux@redhat.com\u003e",
"name": "centos-stream",
"release": "903",
"summary": "Provides a CentOS Stream container based on the Red Hat Universal Base Image",
"url": "https://access.redhat.com/containers/#/registry.access.redhat.com/ubi8/images/8.6-903",
"vcs-ref": "f1ee6e37554363ec55e0035aba1a693d3627fdeb",
"vcs-type": "git",
"vendor": "Red Hat, Inc.",
"version": "8"
}
},
"Architecture": "amd64",
"Os": "linux",
"Size": 1201953335,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/ecd7b89b7ceb84e0569032c647a506665114f08cbbb78ca5ae03739ef1cf611d/diff:/var/lib/docker/overlay2/ed972944130a2e180f264d9396b6cca9724be941b763e9cc655890c79a4b9361/diff:/var/lib/docker/overlay2/2f0c0df73c7db2dba008f971bc97617df281694d99f26ed5dc45dbd82a93c7ca/diff:/var/lib/docker/overlay2/5b0d2d5399e005eee9c6cff036ac27837ba66025fc940428ccf3cc16959d5edf/diff",
"MergedDir": "/var/lib/docker/overlay2/010533e05d9a4c1335078c6a19989d70fa554be0f26ae11c434ae46a19bbb345/merged",
"UpperDir": "/var/lib/docker/overlay2/010533e05d9a4c1335078c6a19989d70fa554be0f26ae11c434ae46a19bbb345/diff",
"WorkDir": "/var/lib/docker/overlay2/010533e05d9a4c1335078c6a19989d70fa554be0f26ae11c434ae46a19bbb345/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:5966005eac8d0b52bf676cd20f1ffb3435fe4d8245a3afadcd27b0b9e07c096b",
"sha256:9936c6aaa811c2084fe2c1034e24cbecc3d3ac8db8fe987395723b19c678655b",
"sha256:4f77fe8574f420e02173fc030a1a686682a40f6b6a23e180bf3133bcce529293",
"sha256:dd44da1818c3d6eb7b031b0d48a4ce0ed29e00cb1c9ae1e5d6eaa8b8b8c0ba95",
"sha256:1a968afdd6dabe2f9b08443d50ec2c3a42b24be3733fe76a4850301d5e12a335"
]
},
"Metadata": {
"LastTagTime": "2024-10-08T09:34:02.460312676+08:00"
}
}