2021-11-19 00:01:37 UTC
387 MB
false
CEPH_POINT_RELEASE-16.2.6
CEPH_REFpacific
CEPH_VERSIONpacific
OSD_FLAVORdefault
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:a1d0c75327776413fa0db9ed3adcdbadedc95a662eb1d360dad82bb913f8a1d1 - 20.59% (79.6 MB)
[#001] sha256:e492846ec49038a5531d882c2532b0acfd72863a629e1df9cf503bed6b0bd1f7 - 73.36% (284 MB)
[#002] sha256:8a98e69d480f6ddb1719d2cb954bcbce87c6242de22605d691947990c87ae472 - 0.0% (9.24 KB)
[#003] sha256:831aeeeec9874910e6c078162d22693fb57ea95205c161923c471f344ffaa43e - 6.03% (23.3 MB)
[#004] sha256:c373b82fa52eff7e520029803e148c1612313f24dd3dc065e26f3831dd4df815 - 0.0% (2.84 KB)
[#005] sha256:e4d00051041ab8d3aed616f32ac3056472b0d27bf84942ffb711370c026275a0 - 0.0% (4.05 KB)
[#006] sha256:679e2be6c245fbdfca466580c7a8341c66e5c31968e884c767e8e549ed46ce5a - 0.0% (18.9 KB)
[#007] sha256:2da8569090da003387c95bf1fc33cf352eee35098ee2ad4af62259f0cfd8047c - 0.02% (77.5 KB)
/bin/sh -c #(nop) ADD file:805cb5e15fb6e0bb0326ca33fd2942e068863ce2a8491bb71522c652f31fb466 in /
2021-09-15 18:20:04 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=20210915
2021-09-15 18:20:05 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2021-09-18 15:52:21 UTC/bin/sh -c #(nop) LABEL maintainer=Dimitri Savineau <dsavinea@redhat.com>
2021-09-18 15:52:23 UTC/bin/sh -c #(nop) LABEL ceph=True
2021-09-18 15:52:24 UTC/bin/sh -c #(nop) LABEL RELEASE=HEAD
2021-09-18 15:52:26 UTC/bin/sh -c #(nop) LABEL GIT_REPO=https://github.com/ceph/ceph-container.git
2021-09-18 15:52:27 UTC/bin/sh -c #(nop) LABEL GIT_BRANCH=HEAD
2021-09-18 15:52:28 UTC/bin/sh -c #(nop) LABEL GIT_COMMIT=8e00693ceace3f9bcdfaead0c72e7e3f6c691029
2021-09-18 15:52:30 UTC/bin/sh -c #(nop) LABEL GIT_CLEAN=True
2021-09-18 15:58:50 UTC/bin/sh -c #(nop) LABEL CEPH_POINT_RELEASE=-16.2.6
2021-09-18 15:58:51 UTC/bin/sh -c #(nop) ENV CEPH_VERSION=pacific
2021-09-18 15:58:53 UTC/bin/sh -c #(nop) ENV CEPH_POINT_RELEASE=-16.2.6
2021-09-18 15:58:54 UTC/bin/sh -c #(nop) ENV CEPH_DEVEL=false
2021-09-18 15:58:56 UTC/bin/sh -c #(nop) ENV CEPH_REF=pacific
2021-09-18 15:58:57 UTC/bin/sh -c #(nop) ENV OSD_FLAVOR=default
2021-09-18 16:03:06 UTC/bin/sh -c yum install -y epel-release https://apache.jfrog.io/artifactory/arrow/centos/8/apache-arrow-release-latest.rpm && 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.6"; if [[ -n "-16.2.6" ]]; then CPR=-16.2.6 ; 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.6"; 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 --enablerepo=powertools ca-certificates e2fsprogs ceph-common-16.2.6 ceph-mon-16.2.6 ceph-osd-16.2.6 ceph-mds-16.2.6 cephfs-mirror-16.2.6 rbd-mirror-16.2.6 ceph-mgr-16.2.6 ceph-mgr-cephadm-16.2.6 ceph-mgr-dashboard-16.2.6 ceph-mgr-diskprediction-local-16.2.6 ceph-mgr-k8sevents-16.2.6 ceph-mgr-rook-16.2.6 python3-saml ceph-grafana-dashboards-16.2.6 kmod lvm2 gdisk smartmontools nvme-cli libstoragemgmt ceph-radosgw-16.2.6 libradosstriper1-16.2.6 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.6 rbd-nbd-16.2.6 ${CRIMSON_PACKAGES} ceph-immutable-object-cache-16.2.6 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.6 ceph-mon-16.2.6 ceph-osd-16.2.6 ceph-mds-16.2.6 cephfs-mirror-16.2.6 rbd-mirror-16.2.6 ceph-mgr-16.2.6 ceph-mgr-cephadm-16.2.6 ceph-mgr-dashboard-16.2.6 ceph-mgr-diskprediction-local-16.2.6 ceph-mgr-k8sevents-16.2.6 ceph-mgr-rook-16.2.6 python3-saml ceph-grafana-dashboards-16.2.6 kmod lvm2 gdisk smartmontools nvme-cli libstoragemgmt ceph-radosgw-16.2.6 libradosstriper1-16.2.6 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.6 rbd-nbd-16.2.6 ${CRIMSON_PACKAGES} ceph-immutable-object-cache-16.2.6 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.6 ceph-mon-16.2.6 ceph-osd-16.2.6 ceph-mds-16.2.6 cephfs-mirror-16.2.6 rbd-mirror-16.2.6 ceph-mgr-16.2.6 ceph-mgr-cephadm-16.2.6 ceph-mgr-dashboard-16.2.6 ceph-mgr-diskprediction-local-16.2.6 ceph-mgr-k8sevents-16.2.6 ceph-mgr-rook-16.2.6 python3-saml ceph-grafana-dashboards-16.2.6 kmod lvm2 gdisk smartmontools nvme-cli libstoragemgmt ceph-radosgw-16.2.6 libradosstriper1-16.2.6 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.6 rbd-nbd-16.2.6 ${CRIMSON_PACKAGES} ceph-immutable-object-cache-16.2.6 python3-scikit-learn && echo 'Packages verified successfully'
2021-11-19 00:01:23 UTC/bin/sh -c #(nop) ARG ARCH
2021-11-19 00:01:24 UTC/bin/sh -c #(nop) ARG TINI_VERSION
2021-11-19 00:01:27 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-11-19 00:01:30 UTC/bin/sh -c #(nop) COPY multi:1fcc9cd24958a5d35aa3f93344b1b0a41449055cef919040219422ba2e49785b in /usr/local/bin/
2021-11-19 00:01:31 UTC/bin/sh -c #(nop) COPY dir:fc48dabf95fd735588826471c65c00b875996777021014b6a7ec307820ee78de in /etc/ceph-csi
2021-11-19 00:01:32 UTC/bin/sh -c #(nop) COPY dir:d67df37929b62ad0bef3a7febc4c90afff98d7fe5584c4ad1630414eba371e74 in /etc/ceph-monitoring
2021-11-19 00:01:33 UTC/bin/sh -c #(nop) COPY dir:8219635b94b63c25c4715145c2c703917636cf64ac053144fb188d3d76845ccc in /etc/rook-external/
2021-11-19 00:01:35 UTC/bin/sh -c #(nop) COPY dir:0a98df27c3026126724638403ef93467541fafc714cfb8f1050a72e9ec4d4dea in /etc/ceph-csv-templates
2021-11-19 00:01:36 UTC/bin/sh -c #(nop) ENTRYPOINT ["/tini" "--" "/usr/local/bin/rook"]
2021-11-19 00:01:37 UTC/bin/sh -c #(nop) CMD [""]
2021-11-19 00:02:19 UTC
355 MB
false
CEPH_POINT_RELEASE-16.2.6
CEPH_REFpacific
CEPH_VERSIONpacific
OSD_FLAVORdefault
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:52f9ef134af7dd14738733e567402af86136287d9468978d044780a6435a1193 - 22.54% (80.1 MB)
[#001] sha256:65aff7e2785a566d38cef77e79eec8702d24f87d366d23c30955159f521ff59b - 71.58% (254 MB)
[#002] sha256:17dec66bf18df7fa536c2afaa242c7c20cf34fac29560f7dae4fdb045b8d9655 - 0.0% (8.82 KB)
[#003] sha256:2400e436678e4bfa7a818c908915e7a30272f7458223f9746155c988ad49fe0e - 5.85% (20.8 MB)
[#004] sha256:1feeb2dea82ada4ef679868bf81fb26d9e0ea88dcc68be3a3d5604fb12eb8086 - 0.0% (2.84 KB)
[#005] sha256:8339e1f69afb434904483c71c3fc23793d894db6fe482e4da9a0aea85446b9b9 - 0.0% (4.05 KB)
[#006] sha256:ed6bd1fecca0bc07038f2ab51651fe9cf4774de7444dfeefa4fa56d662c46194 - 0.01% (18.9 KB)
[#007] sha256:7b9818fda271de81fb7644ede5ff43f9f2f342c3cbaaeb9458464a41a28a4a32 - 0.02% (77.5 KB)
/bin/sh -c #(nop) ADD file:420712a90b0934202b326dc06b73638ab8e4603d12be2c23d67d834eb6cfc052 in /
2021-09-15 17:39:42 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=20210915
2021-09-15 17:39:42 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2021-09-18 11:13:24 UTC/bin/sh -c #(nop) LABEL maintainer=Dimitri Savineau <dsavinea@redhat.com>
2021-09-18 11:13:25 UTC/bin/sh -c #(nop) LABEL ceph=True
2021-09-18 11:13:25 UTC/bin/sh -c #(nop) LABEL RELEASE=HEAD
2021-09-18 11:13:25 UTC/bin/sh -c #(nop) LABEL GIT_REPO=https://github.com/ceph/ceph-container.git
2021-09-18 11:13:26 UTC/bin/sh -c #(nop) LABEL GIT_BRANCH=HEAD
2021-09-18 11:13:26 UTC/bin/sh -c #(nop) LABEL GIT_COMMIT=8e00693ceace3f9bcdfaead0c72e7e3f6c691029
2021-09-18 11:13:26 UTC/bin/sh -c #(nop) LABEL GIT_CLEAN=True
2021-09-18 11:21:24 UTC/bin/sh -c #(nop) LABEL CEPH_POINT_RELEASE=-16.2.6
2021-09-18 11:21:24 UTC/bin/sh -c #(nop) ENV CEPH_VERSION=pacific
2021-09-18 11:21:24 UTC/bin/sh -c #(nop) ENV CEPH_POINT_RELEASE=-16.2.6
2021-09-18 11:21:24 UTC/bin/sh -c #(nop) ENV CEPH_DEVEL=false
2021-09-18 11:21:25 UTC/bin/sh -c #(nop) ENV CEPH_REF=pacific
2021-09-18 11:21:25 UTC/bin/sh -c #(nop) ENV OSD_FLAVOR=default
2021-09-18 11:25:31 UTC/bin/sh -c yum install -y epel-release https://apache.jfrog.io/artifactory/arrow/centos/8/apache-arrow-release-latest.rpm && 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.6"; if [[ -n "-16.2.6" ]]; then CPR=-16.2.6 ; 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.6"; 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 --enablerepo=powertools ca-certificates e2fsprogs ceph-common-16.2.6 ceph-mon-16.2.6 ceph-osd-16.2.6 ceph-mds-16.2.6 cephfs-mirror-16.2.6 rbd-mirror-16.2.6 ceph-mgr-16.2.6 ceph-mgr-cephadm-16.2.6 ceph-mgr-dashboard-16.2.6 ceph-mgr-diskprediction-local-16.2.6 ceph-mgr-k8sevents-16.2.6 ceph-mgr-rook-16.2.6 ceph-grafana-dashboards-16.2.6 kmod lvm2 gdisk smartmontools nvme-cli libstoragemgmt ceph-radosgw-16.2.6 libradosstriper1-16.2.6 tcmu-runner ceph-iscsi python3-rtslib attr ceph-fuse-16.2.6 rbd-nbd-16.2.6 ${CRIMSON_PACKAGES} ceph-immutable-object-cache-16.2.6 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.6 ceph-mon-16.2.6 ceph-osd-16.2.6 ceph-mds-16.2.6 cephfs-mirror-16.2.6 rbd-mirror-16.2.6 ceph-mgr-16.2.6 ceph-mgr-cephadm-16.2.6 ceph-mgr-dashboard-16.2.6 ceph-mgr-diskprediction-local-16.2.6 ceph-mgr-k8sevents-16.2.6 ceph-mgr-rook-16.2.6 ceph-grafana-dashboards-16.2.6 kmod lvm2 gdisk smartmontools nvme-cli libstoragemgmt ceph-radosgw-16.2.6 libradosstriper1-16.2.6 tcmu-runner ceph-iscsi python3-rtslib attr ceph-fuse-16.2.6 rbd-nbd-16.2.6 ${CRIMSON_PACKAGES} ceph-immutable-object-cache-16.2.6 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.6 ceph-mon-16.2.6 ceph-osd-16.2.6 ceph-mds-16.2.6 cephfs-mirror-16.2.6 rbd-mirror-16.2.6 ceph-mgr-16.2.6 ceph-mgr-cephadm-16.2.6 ceph-mgr-dashboard-16.2.6 ceph-mgr-diskprediction-local-16.2.6 ceph-mgr-k8sevents-16.2.6 ceph-mgr-rook-16.2.6 ceph-grafana-dashboards-16.2.6 kmod lvm2 gdisk smartmontools nvme-cli libstoragemgmt ceph-radosgw-16.2.6 libradosstriper1-16.2.6 tcmu-runner ceph-iscsi python3-rtslib attr ceph-fuse-16.2.6 rbd-nbd-16.2.6 ${CRIMSON_PACKAGES} ceph-immutable-object-cache-16.2.6 python3-scikit-learn && echo 'Packages verified successfully'
2021-11-19 00:02:04 UTC/bin/sh -c #(nop) ARG ARCH
2021-11-19 00:02:05 UTC/bin/sh -c #(nop) ARG TINI_VERSION
2021-11-19 00:02:09 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-11-19 00:02:12 UTC/bin/sh -c #(nop) COPY multi:0690b9ead6131a43cb7f626ff0c6c657646cac5a1bcc57ee3557a3e7b156925e in /usr/local/bin/
2021-11-19 00:02:13 UTC/bin/sh -c #(nop) COPY dir:fc48dabf95fd735588826471c65c00b875996777021014b6a7ec307820ee78de in /etc/ceph-csi
2021-11-19 00:02:14 UTC/bin/sh -c #(nop) COPY dir:d67df37929b62ad0bef3a7febc4c90afff98d7fe5584c4ad1630414eba371e74 in /etc/ceph-monitoring
2021-11-19 00:02:16 UTC/bin/sh -c #(nop) COPY dir:8219635b94b63c25c4715145c2c703917636cf64ac053144fb188d3d76845ccc in /etc/rook-external/
2021-11-19 00:02:17 UTC/bin/sh -c #(nop) COPY dir:4fb9eeaaaf3e401a3205b5bb596ccc069d06724f2515cad424b91437b80baffa in /etc/ceph-csv-templates
2021-11-19 00:02:18 UTC/bin/sh -c #(nop) ENTRYPOINT ["/tini" "--" "/usr/local/bin/rook"]
2021-11-19 00:02:19 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.