2021-07-28 15:10:46 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:140f490187326f3075c16e720b03b5b26fcb357c57c68bdb4ed6c9b8e724420a - 0.0% (9.24 KB)
[#003] sha256:65b1c834b908cb7d0cb52d71929b9a1a57e628240870ba3bb8c17d71fa32de9c - 5.8% (24.9 MB)
[#004] sha256:757565800a0b261a077db62dc1861d483a32cd06d014604a9dd94d2cfbf05ad3 - 0.0% (2.77 KB)
[#005] sha256:f9fbbdee983e69c750f0cc85dc97c77386b4412dba15fa2aa3b67cb27e4bbbf3 - 0.0% (3.98 KB)
[#006] sha256:a37a44ec511c2945a8d2fc0d0edba8e94128060188cf0305eb9a5b1999059bfa - 0.0% (18.7 KB)
[#007] sha256:282a3e84304fd8d9c36fe6834e73cbe0395facfb0445e308e16a999b2644d96b - 0.03% (132 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-07-28 15:10:33 UTC/bin/sh -c #(nop) ARG ARCH
2021-07-28 15:10:35 UTC/bin/sh -c #(nop) ARG TINI_VERSION
2021-07-28 15:10:36 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-07-28 15:10:39 UTC/bin/sh -c #(nop) COPY multi:9326d078c7c080cf50b661ad26c2bc457830fb7d7966c1f78a4a7eea5479592d in /usr/local/bin/
2021-07-28 15:10:40 UTC/bin/sh -c #(nop) COPY dir:ae6eac63768ec8b7f10ff3febd51662252039b7fcf9f5734d0cc97ab9e50fde4 in /etc/ceph-csi
2021-07-28 15:10:42 UTC/bin/sh -c #(nop) COPY dir:98dd0d46a05be0788396a069fa39e956c5d5e61c730cffc6330637350fc17110 in /etc/ceph-monitoring
2021-07-28 15:10:43 UTC/bin/sh -c #(nop) COPY dir:8e77ea04a4b74e02babd83148cc62385191dae98a7770edcdd4f2c1e976ca11d in /etc/rook-external/
2021-07-28 15:10:44 UTC/bin/sh -c #(nop) COPY dir:303f09068c3effe9a0218e6745e7b38f7905b32263c99d5faa55ebe24195b46e in /etc/ceph-csv-templates
2021-07-28 15:10:45 UTC/bin/sh -c #(nop) ENTRYPOINT ["/tini" "--" "/usr/local/bin/rook"]
2021-07-28 15:10:46 UTC/bin/sh -c #(nop) CMD [""]
2021-07-28 15:12:29 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.27% (304 MB)
[#002] sha256:0b210b989926a7da7f48603de4edcc9790cc5962262fd4b36edef10622087d49 - 0.0% (8.83 KB)
[#003] sha256:0b15805bba61a52d2503088c6c7b686ff63b11c9344ee098767dd486d6abb4f1 - 5.57% (22.2 MB)
[#004] sha256:20e84d15866ab583dd44e6e0106085afe84f6f3113122cbcc18a3396ee2c73a6 - 0.0% (2.78 KB)
[#005] sha256:203931efcef048772cdb10239fe4f0a817ee462b4c37928cd71e4b94bbced3b6 - 0.0% (3.98 KB)
[#006] sha256:3360b0a9934f784b5df3d3412aeb0d2db1322ef1b26637fce86b45fbfcbe9867 - 0.0% (18.7 KB)
[#007] sha256:24d220afd7f89cbdece8e8a90e44a563938e5169606c3d0c6d481b4e66d042cc - 0.04% (180 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-07-28 15:12:16 UTC/bin/sh -c #(nop) ARG ARCH
2021-07-28 15:12:17 UTC/bin/sh -c #(nop) ARG TINI_VERSION
2021-07-28 15:12:19 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-07-28 15:12:22 UTC/bin/sh -c #(nop) COPY multi:08da78f23bc99dd966b485fd52f213b24c2f5fc5e633edda6a88ca8efc7277c3 in /usr/local/bin/
2021-07-28 15:12:23 UTC/bin/sh -c #(nop) COPY dir:ae6eac63768ec8b7f10ff3febd51662252039b7fcf9f5734d0cc97ab9e50fde4 in /etc/ceph-csi
2021-07-28 15:12:24 UTC/bin/sh -c #(nop) COPY dir:98dd0d46a05be0788396a069fa39e956c5d5e61c730cffc6330637350fc17110 in /etc/ceph-monitoring
2021-07-28 15:12:25 UTC/bin/sh -c #(nop) COPY dir:8e77ea04a4b74e02babd83148cc62385191dae98a7770edcdd4f2c1e976ca11d in /etc/rook-external/
2021-07-28 15:12:27 UTC/bin/sh -c #(nop) COPY dir:adb877e9864d34f172aba66f4818a77191b4589f6e23dd475a34bbd88fd53c90 in /etc/ceph-csv-templates
2021-07-28 15:12:28 UTC/bin/sh -c #(nop) ENTRYPOINT ["/tini" "--" "/usr/local/bin/rook"]
2021-07-28 15:12:29 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.