镜像构建历史
# 2024-02-23 00:12:19 1.04GB
/bin/sh -c yum install -y epel-release && yum install -y jq && bash -c ' if [ -n "nfs-ganesha-5.5-1.el8s nfs-ganesha-ceph-5.5-1.el8s nfs-ganesha-rgw-5.5-1.el8s nfs-ganesha-rados-grace-5.5-1.el8s nfs-ganesha-rados-urls-5.5-1.el8s sssd-client dbus-daemon rpcbind" ]; then if [[ "${CEPH_VERSION}" == master || "${CEPH_VERSION}" == main ]]; then ARCH=$(arch); if [[ "${ARCH}" == "aarch64" ]]; then ARCH="arm64"; fi ; curl -s -L "https://shaman.ceph.com/api/repos/nfs-ganesha/V5.7/latest/centos/8/flavors/ceph_main/repo?arch=${ARCH}" -o /etc/yum.repos.d/ganesha.repo ; elif [[ "${CEPH_VERSION}" == squid ]]; 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-stream/storage/\$basearch/nfsganesha-5/" >> /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}" == reef ]]; 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-stream/storage/\$basearch/nfsganesha-5/" >> /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}" == 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|reef|squid ]]; 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-18.2.1"; if [[ -n "-18.2.1" ]]; then CPR=-18.2.1 ; 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-18.2.1"; fi ; else RELEASE_VER=1 ; if [[ false = true ]] ; then REPO_URL="https://:@download.ceph.com/prerelease/rpm-${CEPH_VERSION}/el8/"; else REPO_URL="http://download.ceph.com/rpm-${CEPH_VERSION}/el8/"; fi fi && rpm -Uvh "$REPO_URL/noarch/ceph-release-1-${RELEASE_VER}.el8.noarch.rpm" && if [[ false = true ]] ; then sed -i "s;http://download.ceph.com/;https://:@download.ceph.com/prerelease/;" /etc/yum.repos.d/ceph.repo ; dnf clean expire-cache ; fi && 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 --enablerepo=powertools ca-certificates e2fsprogs ceph-common-18.2.1 ceph-mon-18.2.1 ceph-osd-18.2.1 cephfs-top-18.2.1 ceph-mds-18.2.1 cephfs-mirror-18.2.1 rbd-mirror-18.2.1 ceph-mgr-18.2.1 ceph-mgr-cephadm-18.2.1 ceph-mgr-dashboard-18.2.1 ceph-mgr-diskprediction-local-18.2.1 ceph-mgr-k8sevents-18.2.1 ceph-mgr-rook-18.2.1 python3-saml ceph-grafana-dashboards-18.2.1 kmod lvm2 gdisk smartmontools nvme-cli libstoragemgmt systemd-udev sg3_utils procps-ng hostname ceph-radosgw-18.2.1 libradosstriper1-18.2.1 gcc lua-devel luarocks nfs-ganesha-5.5-1.el8s nfs-ganesha-ceph-5.5-1.el8s nfs-ganesha-rgw-5.5-1.el8s nfs-ganesha-rados-grace-5.5-1.el8s nfs-ganesha-rados-urls-5.5-1.el8s sssd-client dbus-daemon rpcbind tcmu-runner ceph-iscsi python3-rtslib attr ceph-fuse-18.2.1 rbd-nbd-18.2.1 ${CRIMSON_PACKAGES} ceph-immutable-object-cache-18.2.1 python3-scikit-learn ceph-volume-18.2.1 ceph-exporter-18.2.1 && 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-18.2.1 ceph-mon-18.2.1 ceph-osd-18.2.1 cephfs-top-18.2.1 ceph-mds-18.2.1 cephfs-mirror-18.2.1 rbd-mirror-18.2.1 ceph-mgr-18.2.1 ceph-mgr-cephadm-18.2.1 ceph-mgr-dashboard-18.2.1 ceph-mgr-diskprediction-local-18.2.1 ceph-mgr-k8sevents-18.2.1 ceph-mgr-rook-18.2.1 python3-saml ceph-grafana-dashboards-18.2.1 kmod lvm2 gdisk smartmontools nvme-cli libstoragemgmt systemd-udev sg3_utils procps-ng hostname ceph-radosgw-18.2.1 libradosstriper1-18.2.1 gcc lua-devel luarocks nfs-ganesha-5.5-1.el8s nfs-ganesha-ceph-5.5-1.el8s nfs-ganesha-rgw-5.5-1.el8s nfs-ganesha-rados-grace-5.5-1.el8s nfs-ganesha-rados-urls-5.5-1.el8s sssd-client dbus-daemon rpcbind tcmu-runner ceph-iscsi python3-rtslib attr ceph-fuse-18.2.1 rbd-nbd-18.2.1 ${CRIMSON_PACKAGES} ceph-immutable-object-cache-18.2.1 python3-scikit-learn ceph-volume-18.2.1 ceph-exporter-18.2.1 ) && 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-18.2.1 ceph-mon-18.2.1 ceph-osd-18.2.1 cephfs-top-18.2.1 ceph-mds-18.2.1 cephfs-mirror-18.2.1 rbd-mirror-18.2.1 ceph-mgr-18.2.1 ceph-mgr-cephadm-18.2.1 ceph-mgr-dashboard-18.2.1 ceph-mgr-diskprediction-local-18.2.1 ceph-mgr-k8sevents-18.2.1 ceph-mgr-rook-18.2.1 python3-saml ceph-grafana-dashboards-18.2.1 kmod lvm2 gdisk smartmontools nvme-cli libstoragemgmt systemd-udev sg3_utils procps-ng hostname ceph-radosgw-18.2.1 libradosstriper1-18.2.1 gcc lua-devel luarocks nfs-ganesha-5.5-1.el8s nfs-ganesha-ceph-5.5-1.el8s nfs-ganesha-rgw-5.5-1.el8s nfs-ganesha-rados-grace-5.5-1.el8s nfs-ganesha-rados-urls-5.5-1.el8s sssd-client dbus-daemon rpcbind tcmu-runner ceph-iscsi python3-rtslib attr ceph-fuse-18.2.1 rbd-nbd-18.2.1 ${CRIMSON_PACKAGES} ceph-immutable-object-cache-18.2.1 python3-scikit-learn ceph-volume-18.2.1 ceph-exporter-18.2.1 && echo 'Packages verified successfully'
# 2024-02-23 00:07:43 0.00B
/bin/sh -c #(nop) EXPOSE 5000 6789 6800 6801 6802 6803 6804 6805 80
# 2024-02-23 00:07:42 0.00B
/bin/sh -c #(nop) ENV OSD_FLAVOR=default
# 2024-02-23 00:07:40 0.00B
/bin/sh -c #(nop) ENV CEPH_REF=reef
# 2024-02-23 00:07:39 0.00B
/bin/sh -c #(nop) ENV CEPH_DEVEL=false
# 2024-02-23 00:07:38 0.00B
/bin/sh -c #(nop) ENV CEPH_POINT_RELEASE=-18.2.1
# 2024-02-23 00:07:37 0.00B
/bin/sh -c #(nop) ENV CEPH_VERSION=reef
# 2024-02-23 00:07:36 0.00B
/bin/sh -c #(nop) LABEL CEPH_POINT_RELEASE=-18.2.1
# 2024-02-22 23:53:25 0.00B
/bin/sh -c #(nop) LABEL GIT_CLEAN=True
# 2024-02-22 23:53:24 0.00B
/bin/sh -c #(nop) LABEL GIT_COMMIT=1617517b9622744995c4661989e3c30d036a7cfd
# 2024-02-22 23:53:23 0.00B
/bin/sh -c #(nop) LABEL GIT_BRANCH=HEAD
# 2024-02-22 23:53:22 0.00B
/bin/sh -c #(nop) LABEL GIT_REPO=https://github.com/ceph/ceph-container.git
# 2024-02-22 23:53:21 0.00B
/bin/sh -c #(nop) LABEL RELEASE=HEAD
# 2024-02-22 23:53:19 0.00B
/bin/sh -c #(nop) LABEL ceph=True
# 2024-02-22 23:53:18 0.00B
/bin/sh -c #(nop) LABEL maintainer=Guillaume Abrioux <gabrioux@redhat.com>
# 2024-02-22 23:53:17 0.00B
/bin/sh -c #(nop) ENV I_AM_IN_A_CONTAINER=1
# 2024-02-22 08:38:36 217.51MB
/bin/sh -c #(nop) CMD ["/bin/bash"]
# 2024-02-22 08:38:30 0.00B
/bin/sh -c #(nop) LABEL org.label-schema.schema-version="1.0" org.label-schema.name="CentOS Stream 8 Base Image" org.label-schema.vendor="CentOS" org.label-schema.license="GPLv2" org.label-schema.build-date="20240222"
# 2024-02-22 08:38:30 0.00B
/bin/sh -c #(nop) ADD file:b0ec97cee686809dbf1fd5b582f1520bde3bdf6f2f68c6eae1b44e27971d0f65 in /
镜像信息
{
"Id": "sha256:5be31c24972a920012b90a9769e8313e2490c82aee752aefd49af9cf4c0f3fcf",
"RepoTags": [
"quay.io/ceph/ceph:v18.2.1",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/quay.io/ceph/ceph:v18.2.1"
],
"RepoDigests": [
"quay.io/ceph/ceph@sha256:9f35728f6070a596500c0804814a12ab6b98e05067316dc64876fb4b28d04af3",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/quay.io/ceph/ceph@sha256:c86e35f7f91682e4eec73cc3dc39666a5a1ad950710247992d8ef54c97f9d509"
],
"Parent": "",
"Comment": "",
"Created": "2024-02-22T16:12:19.865772515Z",
"Container": "",
"ContainerConfig": null,
"DockerVersion": "20.10.21",
"Author": "",
"Config": {
"Hostname": "",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"5000/tcp": {},
"6789/tcp": {},
"6800/tcp": {},
"6801/tcp": {},
"6802/tcp": {},
"6803/tcp": {},
"6804/tcp": {},
"6805/tcp": {},
"80/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"I_AM_IN_A_CONTAINER=1",
"CEPH_VERSION=reef",
"CEPH_POINT_RELEASE=-18.2.1",
"CEPH_DEVEL=false",
"CEPH_REF=reef",
"OSD_FLAVOR=default"
],
"Cmd": [
"/bin/bash"
],
"Image": "sha256:70aa95fd1423e1fec57cefae0a6cbab0925003d6c7ebf336e27ce3e0b40d0313",
"Volumes": null,
"WorkingDir": "",
"Entrypoint": null,
"OnBuild": null,
"Labels": {
"CEPH_POINT_RELEASE": "-18.2.1",
"GIT_BRANCH": "HEAD",
"GIT_CLEAN": "True",
"GIT_COMMIT": "1617517b9622744995c4661989e3c30d036a7cfd",
"GIT_REPO": "https://github.com/ceph/ceph-container.git",
"RELEASE": "HEAD",
"ceph": "True",
"io.buildah.version": "1.29.1",
"maintainer": "Guillaume Abrioux \u003cgabrioux@redhat.com\u003e",
"org.label-schema.build-date": "20240222",
"org.label-schema.license": "GPLv2",
"org.label-schema.name": "CentOS Stream 8 Base Image",
"org.label-schema.schema-version": "1.0",
"org.label-schema.vendor": "CentOS"
}
},
"Architecture": "amd64",
"Os": "linux",
"Size": 1255409915,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/23fe5b02aa6ac25e6101d15ac349914c2a57ebe43ab88c35cad880db5c12e57d/diff",
"MergedDir": "/var/lib/docker/overlay2/4163f693d99a77e1a4d3a3d00790df1b2d70b000f02db6018785194c51e44bd7/merged",
"UpperDir": "/var/lib/docker/overlay2/4163f693d99a77e1a4d3a3d00790df1b2d70b000f02db6018785194c51e44bd7/diff",
"WorkDir": "/var/lib/docker/overlay2/4163f693d99a77e1a4d3a3d00790df1b2d70b000f02db6018785194c51e44bd7/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:5747bd4e6aa8757c504ae8d8627824521e88249dcc0bcda42e4c045ab4a63c94",
"sha256:9bcb2bc97886eaad7222b489922ea3d0507744a9f288fbf56bc623519488918c"
]
},
"Metadata": {
"LastTagTime": "2025-03-16T13:58:49.507680747+08:00"
}
}