2021-08-12 19:54:20 UTC
429 MB
false
CEPH_POINT_RELEASE-16.2.5
CEPH_REFpacific
CEPH_VERSIONpacific
OSD_FLAVORdefault
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:7a0437f04f83f084b7ed68ad9c4a4947e12fc4e1b006b38129bac89114ec3621 - 16.7% (71.7 MB)
[#001] sha256:77890c5669f6b6c6924b8fca572f4f533c69239091810f2d2495b0df611f7263 - 77.47% (333 MB)
[#002] sha256:4bfc5d3e0d70d1a4bb3bcff6c89c5f04e796dafeab6f2aba7d119745a91edfaa - 0.0% (9.24 KB)
[#003] sha256:2b62b9e63738e918638d719193d5e9710f984572406d48770fc43fd105d761a0 - 5.8% (24.9 MB)
[#004] sha256:cf64c45b0b34e57de33759a748a6e015767be85d151066d71ee3fae958bc5d6f - 0.0% (2.8 KB)
[#005] sha256:5c7317c0544fdcb79ac280dc8c7cf12f882f68b85a68959de4f6163c73518cf2 - 0.0% (3.98 KB)
[#006] sha256:c3ca96b38e3d8cf9265275fb1d916a67101607edb79974ed39ef53bd4e12a694 - 0.0% (18.7 KB)
[#007] sha256:ae22a7c99d11439a55667f8c64913147a2157e11a94a5b7223c6c2447057646f - 0.02% (74 KB)
/bin/sh -c #(nop) ADD file:bd7a2aed6ede423b719ceb2f723e4ecdfa662b28639c8429731c878e86fb138b in /
2020-12-08 00:22:52 UTC/bin/sh -c #(nop) LABEL org.label-schema.schema-version=1.0 org.label-schema.name=CentOS Base Image org.label-schema.vendor=CentOS org.label-schema.license=GPLv2 org.label-schema.build-date=20201204
2020-12-08 00:22:53 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2021-07-08 17:51:42 UTC/bin/sh -c #(nop) LABEL maintainer=Dimitri Savineau <dsavinea@redhat.com>
2021-07-08 17:51:43 UTC/bin/sh -c #(nop) LABEL ceph=True
2021-07-08 17:51:44 UTC/bin/sh -c #(nop) LABEL RELEASE=HEAD
2021-07-08 17:51:46 UTC/bin/sh -c #(nop) LABEL GIT_REPO=https://github.com/ceph/ceph-container.git
2021-07-08 17:51:47 UTC/bin/sh -c #(nop) LABEL GIT_BRANCH=HEAD
2021-07-08 17:51:49 UTC/bin/sh -c #(nop) LABEL GIT_COMMIT=24e1f91422e837c50a9ec6a5df6b746de1bfb099
2021-07-08 17:51:50 UTC/bin/sh -c #(nop) LABEL GIT_CLEAN=True
2021-07-08 17:51:51 UTC/bin/sh -c #(nop) LABEL CEPH_POINT_RELEASE=-16.2.5
2021-07-08 17:51:53 UTC/bin/sh -c #(nop) ENV CEPH_VERSION=pacific
2021-07-08 17:51:54 UTC/bin/sh -c #(nop) ENV CEPH_POINT_RELEASE=-16.2.5
2021-07-08 17:51:56 UTC/bin/sh -c #(nop) ENV CEPH_DEVEL=false
2021-07-08 17:51:57 UTC/bin/sh -c #(nop) ENV CEPH_REF=pacific
2021-07-08 17:51:59 UTC/bin/sh -c #(nop) ENV OSD_FLAVOR=default
2021-07-08 17:57:02 UTC/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 echo "[ganesha]" > /etc/yum.repos.d/ganesha.repo ; echo "name=ganesha" >> /etc/yum.repos.d/ganesha.repo ; if [[ "${CEPH_VERSION}" == master ]]; then echo "baseurl=https://buildlogs.centos.org/centos/\$releasever/storage/\$basearch/nfsganesha-3/" >> /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 "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 "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 "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 "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/master/latest/centos/8/repo?arch=$(arch) -o /etc/yum.repos.d/tcmu-runner.repo ; if [[ "${CEPH_VERSION}" =~ master ]]; then curl -s -L https://shaman.ceph.com/api/repos/ceph-iscsi/master/latest/centos/8/repo -o /etc/yum.repos.d/ceph-iscsi.repo ; elif [[ "${CEPH_VERSION}" =~ nautilus|octopus|pacific ]]; 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-16.2.5"; if [[ -n "-16.2.5" ]]; then CPR=-16.2.5 ; 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_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-16.2.5"; 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 ; fi ' && yum install -y --setopt=install_weak_deps=False ca-certificates e2fsprogs ceph-common-16.2.5 ceph-mon-16.2.5 ceph-osd-16.2.5 ceph-mds-16.2.5 cephfs-mirror-16.2.5 rbd-mirror-16.2.5 ceph-mgr-16.2.5 ceph-mgr-cephadm-16.2.5 ceph-mgr-dashboard-16.2.5 ceph-mgr-diskprediction-local-16.2.5 ceph-mgr-k8sevents-16.2.5 ceph-mgr-rook-16.2.5 python3-saml ceph-grafana-dashboards-16.2.5 kmod lvm2 gdisk smartmontools nvme-cli libstoragemgmt ceph-radosgw-16.2.5 libradosstriper1-16.2.5 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-16.2.5 rbd-nbd-16.2.5 ${CRIMSON_PACKAGES} ceph-immutable-object-cache-16.2.5 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-16.2.5 ceph-mon-16.2.5 ceph-osd-16.2.5 ceph-mds-16.2.5 cephfs-mirror-16.2.5 rbd-mirror-16.2.5 ceph-mgr-16.2.5 ceph-mgr-cephadm-16.2.5 ceph-mgr-dashboard-16.2.5 ceph-mgr-diskprediction-local-16.2.5 ceph-mgr-k8sevents-16.2.5 ceph-mgr-rook-16.2.5 python3-saml ceph-grafana-dashboards-16.2.5 kmod lvm2 gdisk smartmontools nvme-cli libstoragemgmt ceph-radosgw-16.2.5 libradosstriper1-16.2.5 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-16.2.5 rbd-nbd-16.2.5 ${CRIMSON_PACKAGES} ceph-immutable-object-cache-16.2.5 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 && 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 && bash -c ' function ifstrip () { if compgen -g "$1"; then strip -s "$1"; fi } && ifstrip /usr/lib{,64}/ceph/erasure-code/* && ifstrip /usr/lib{,64}/rados-classes/* && ifstrip /usr/lib{,64}/python*/{dist,site}-packages/{rados,rbd,rgw}.*.so && ifstrip /usr/bin/{crushtool,monmaptool,osdmaptool}' && 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-16.2.5 ceph-mon-16.2.5 ceph-osd-16.2.5 ceph-mds-16.2.5 cephfs-mirror-16.2.5 rbd-mirror-16.2.5 ceph-mgr-16.2.5 ceph-mgr-cephadm-16.2.5 ceph-mgr-dashboard-16.2.5 ceph-mgr-diskprediction-local-16.2.5 ceph-mgr-k8sevents-16.2.5 ceph-mgr-rook-16.2.5 python3-saml ceph-grafana-dashboards-16.2.5 kmod lvm2 gdisk smartmontools nvme-cli libstoragemgmt ceph-radosgw-16.2.5 libradosstriper1-16.2.5 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-16.2.5 rbd-nbd-16.2.5 ${CRIMSON_PACKAGES} ceph-immutable-object-cache-16.2.5 python3-scikit-learn && echo 'Packages verified successfully'
2021-08-12 19:54:05 UTC/bin/sh -c #(nop) ARG ARCH
2021-08-12 19:54:07 UTC/bin/sh -c #(nop) ARG TINI_VERSION
2021-08-12 19:54:09 UTC|2 ARCH=amd64 TINI_VERSION=v0.19.0 /bin/sh -c curl --fail -sSL -o /tini https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${ARCH} && chmod +x /tini
2021-08-12 19:54:12 UTC/bin/sh -c #(nop) COPY multi:257eac2a9d7be8039f6c7baa67e75bd64928eac0c0c8caf707cc61fe8eb238a2 in /usr/local/bin/
2021-08-12 19:54:13 UTC/bin/sh -c #(nop) COPY dir:5ab44d7ddfc28c59d99dbb49521d98eff4ee65873caba761eba6b1de12003cf0 in /etc/ceph-csi
2021-08-12 19:54:15 UTC/bin/sh -c #(nop) COPY dir:98dd0d46a05be0788396a069fa39e956c5d5e61c730cffc6330637350fc17110 in /etc/ceph-monitoring
2021-08-12 19:54:16 UTC/bin/sh -c #(nop) COPY dir:8e77ea04a4b74e02babd83148cc62385191dae98a7770edcdd4f2c1e976ca11d in /etc/rook-external/
2021-08-12 19:54:17 UTC/bin/sh -c #(nop) COPY dir:7aa22552efaf83879e33a86e5f37bd8d93d529b7ec13bf855b1614a077dad093 in /etc/ceph-csv-templates
2021-08-12 19:54:19 UTC/bin/sh -c #(nop) ENTRYPOINT ["/tini" "--" "/usr/local/bin/rook"]
2021-08-12 19:54:20 UTC/bin/sh -c #(nop) CMD [""]
2021-08-12 19:56:42 UTC
398 MB
false
CEPH_POINT_RELEASE-16.2.5
CEPH_REFpacific
CEPH_VERSIONpacific
OSD_FLAVORdefault
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:333cbcae3fb80b9a46084ae4caea81a84aafda9700fb646ab89206d0cfe213fd - 18.11% (72.1 MB)
[#001] sha256:e6345bb1507c0e99af777d10141f887c9b7e59bb8fd87986601eaa4454f37e65 - 76.29% (304 MB)
[#002] sha256:922403468f7e19df5860b7540a602be456934c63d5db81acb621891257049a77 - 0.0% (8.83 KB)
[#003] sha256:ffcfa92d4bd11b13a761c98f24f6a73846dcbd61548847a8d79b5f7fec318c36 - 5.58% (22.2 MB)
[#004] sha256:b3b6fb4f86b9fcdc02d86f7aa4ae78bca572555abbc676cf6c764ef3a91fdef7 - 0.0% (2.8 KB)
[#005] sha256:e43db8cc3335206bd3c0c48b6b04ff99763ac634fcf3b0bbc25b553125834664 - 0.0% (3.97 KB)
[#006] sha256:36a8d9f3727d838867a47dec73d6b9e5eb5c21693c0617718ea793fb973fd3b9 - 0.0% (18.7 KB)
[#007] sha256:fad7ab6b682e71b258fd7eef5084546d4022ae319ee36d158cfdf952fec86504 - 0.02% (74 KB)
/bin/sh -c #(nop) ADD file:edd6e1253ec7bbb67b5a28d40c7d28b34a443c2cfa327bebf55c8b0b19484bf9 in /
2020-12-07 23:42:09 UTC/bin/sh -c #(nop) LABEL org.label-schema.schema-version=1.0 org.label-schema.name=CentOS Base Image org.label-schema.vendor=CentOS org.label-schema.license=GPLv2 org.label-schema.build-date=20201204
2020-12-07 23:42:10 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2021-07-08 17:43:30 UTC/bin/sh -c #(nop) LABEL maintainer=Dimitri Savineau <dsavinea@redhat.com>
2021-07-08 17:43:30 UTC/bin/sh -c #(nop) LABEL ceph=True
2021-07-08 17:43:30 UTC/bin/sh -c #(nop) LABEL RELEASE=HEAD
2021-07-08 17:43:31 UTC/bin/sh -c #(nop) LABEL GIT_REPO=https://github.com/ceph/ceph-container.git
2021-07-08 17:43:31 UTC/bin/sh -c #(nop) LABEL GIT_BRANCH=HEAD
2021-07-08 17:43:31 UTC/bin/sh -c #(nop) LABEL GIT_COMMIT=24e1f91422e837c50a9ec6a5df6b746de1bfb099
2021-07-08 17:43:31 UTC/bin/sh -c #(nop) LABEL GIT_CLEAN=True
2021-07-08 17:43:32 UTC/bin/sh -c #(nop) LABEL CEPH_POINT_RELEASE=-16.2.5
2021-07-08 17:43:32 UTC/bin/sh -c #(nop) ENV CEPH_VERSION=pacific
2021-07-08 17:43:32 UTC/bin/sh -c #(nop) ENV CEPH_POINT_RELEASE=-16.2.5
2021-07-08 17:43:33 UTC/bin/sh -c #(nop) ENV CEPH_DEVEL=false
2021-07-08 17:43:33 UTC/bin/sh -c #(nop) ENV CEPH_REF=pacific
2021-07-08 17:43:33 UTC/bin/sh -c #(nop) ENV OSD_FLAVOR=default
2021-07-08 17:47:58 UTC/bin/sh -c yum install -y epel-release && yum install -y jq && bash -c ' if [ -n "" ]; then echo "[ganesha]" > /etc/yum.repos.d/ganesha.repo ; echo "name=ganesha" >> /etc/yum.repos.d/ganesha.repo ; if [[ "${CEPH_VERSION}" == master ]]; then echo "baseurl=https://buildlogs.centos.org/centos/\$releasever/storage/\$basearch/nfsganesha-3/" >> /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 "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 "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 "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 "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/master/latest/centos/8/repo?arch=$(arch) -o /etc/yum.repos.d/tcmu-runner.repo ; if [[ "${CEPH_VERSION}" =~ master ]]; then curl -s -L https://shaman.ceph.com/api/repos/ceph-iscsi/master/latest/centos/8/repo -o /etc/yum.repos.d/ceph-iscsi.repo ; elif [[ "${CEPH_VERSION}" =~ nautilus|octopus|pacific ]]; 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-16.2.5"; if [[ -n "-16.2.5" ]]; then CPR=-16.2.5 ; 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_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-16.2.5"; 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 ; fi ' && yum install -y --setopt=install_weak_deps=False ca-certificates e2fsprogs ceph-common-16.2.5 ceph-mon-16.2.5 ceph-osd-16.2.5 ceph-mds-16.2.5 cephfs-mirror-16.2.5 rbd-mirror-16.2.5 ceph-mgr-16.2.5 ceph-mgr-cephadm-16.2.5 ceph-mgr-dashboard-16.2.5 ceph-mgr-diskprediction-local-16.2.5 ceph-mgr-k8sevents-16.2.5 ceph-mgr-rook-16.2.5 ceph-grafana-dashboards-16.2.5 kmod lvm2 gdisk smartmontools nvme-cli libstoragemgmt ceph-radosgw-16.2.5 libradosstriper1-16.2.5 tcmu-runner ceph-iscsi python3-rtslib attr ceph-fuse-16.2.5 rbd-nbd-16.2.5 ${CRIMSON_PACKAGES} ceph-immutable-object-cache-16.2.5 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-16.2.5 ceph-mon-16.2.5 ceph-osd-16.2.5 ceph-mds-16.2.5 cephfs-mirror-16.2.5 rbd-mirror-16.2.5 ceph-mgr-16.2.5 ceph-mgr-cephadm-16.2.5 ceph-mgr-dashboard-16.2.5 ceph-mgr-diskprediction-local-16.2.5 ceph-mgr-k8sevents-16.2.5 ceph-mgr-rook-16.2.5 ceph-grafana-dashboards-16.2.5 kmod lvm2 gdisk smartmontools nvme-cli libstoragemgmt ceph-radosgw-16.2.5 libradosstriper1-16.2.5 tcmu-runner ceph-iscsi python3-rtslib attr ceph-fuse-16.2.5 rbd-nbd-16.2.5 ${CRIMSON_PACKAGES} ceph-immutable-object-cache-16.2.5 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 && 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 && bash -c ' function ifstrip () { if compgen -g "$1"; then strip -s "$1"; fi } && ifstrip /usr/lib{,64}/ceph/erasure-code/* && ifstrip /usr/lib{,64}/rados-classes/* && ifstrip /usr/lib{,64}/python*/{dist,site}-packages/{rados,rbd,rgw}.*.so && ifstrip /usr/bin/{crushtool,monmaptool,osdmaptool}' && 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-16.2.5 ceph-mon-16.2.5 ceph-osd-16.2.5 ceph-mds-16.2.5 cephfs-mirror-16.2.5 rbd-mirror-16.2.5 ceph-mgr-16.2.5 ceph-mgr-cephadm-16.2.5 ceph-mgr-dashboard-16.2.5 ceph-mgr-diskprediction-local-16.2.5 ceph-mgr-k8sevents-16.2.5 ceph-mgr-rook-16.2.5 ceph-grafana-dashboards-16.2.5 kmod lvm2 gdisk smartmontools nvme-cli libstoragemgmt ceph-radosgw-16.2.5 libradosstriper1-16.2.5 tcmu-runner ceph-iscsi python3-rtslib attr ceph-fuse-16.2.5 rbd-nbd-16.2.5 ${CRIMSON_PACKAGES} ceph-immutable-object-cache-16.2.5 python3-scikit-learn && echo 'Packages verified successfully'
2021-08-12 19:56:27 UTC/bin/sh -c #(nop) ARG ARCH
2021-08-12 19:56:29 UTC/bin/sh -c #(nop) ARG TINI_VERSION
2021-08-12 19:56:31 UTC|2 ARCH=arm64 TINI_VERSION=v0.19.0 /bin/sh -c curl --fail -sSL -o /tini https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${ARCH} && chmod +x /tini
2021-08-12 19:56:34 UTC/bin/sh -c #(nop) COPY multi:c0e57771e867a74fb7bdadd69a28c62408e0a315d359504faf7d425c27bb6237 in /usr/local/bin/
2021-08-12 19:56:36 UTC/bin/sh -c #(nop) COPY dir:5ab44d7ddfc28c59d99dbb49521d98eff4ee65873caba761eba6b1de12003cf0 in /etc/ceph-csi
2021-08-12 19:56:37 UTC/bin/sh -c #(nop) COPY dir:98dd0d46a05be0788396a069fa39e956c5d5e61c730cffc6330637350fc17110 in /etc/ceph-monitoring
2021-08-12 19:56:38 UTC/bin/sh -c #(nop) COPY dir:8e77ea04a4b74e02babd83148cc62385191dae98a7770edcdd4f2c1e976ca11d in /etc/rook-external/
2021-08-12 19:56:40 UTC/bin/sh -c #(nop) COPY dir:d0e61007cfceba63c52e271c951bc650d404519e94fa53b00d70e5122f6e6b50 in /etc/ceph-csv-templates
2021-08-12 19:56:41 UTC/bin/sh -c #(nop) ENTRYPOINT ["/tini" "--" "/usr/local/bin/rook"]
2021-08-12 19:56:42 UTC/bin/sh -c #(nop) CMD [""]
Please be careful as this will not just delete the reference but also the actual content!
For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.