2020-03-24 15:21:36 UTC
356 MB
false
CEPH_POINT_RELEASE CEPH_VERSIONoctopus
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:8a29a15cefaeccf6545f7ecf11298f9672d2f0cdaf9e357a95133ac3ad3e1f07 - 19.64% (69.8 MB)
[#001] sha256:a94cce2b532b09e62dafdfa62a3a354be70282cd571b0f10e0e70130d5e324b9 - 70.99% (252 MB)
[#002] sha256:fe155cfcc684bdd8b5a9ed39e0b779fec86c2f271443798dd745e22e9e646155 - 9.23% (32.8 MB)
[#003] sha256:431c6a427c6c8bb616d1addc82cf4c9d4df4fed4515343bec5ef0c13f68b7590 - 0.0% (765 Bytes)
[#004] sha256:9a0f54d3da9888cba95c07f158191e20e09599bf8916de6116247a77dd6161d2 - 0.0% (420 Bytes)
[#005] sha256:944a936903e76f4f9d59fd5387b73e16daaceb71eeeb8587e603df680caebca5 - 0.0% (291 Bytes)
[#006] sha256:bc6019194f48924a14fcedf29c4f278dd42fac4fa3e0ffebb1f48b94e495117f - 0.01% (31.9 KB)
[#007] sha256:569927e8d70fd7a89b5cd271e9a67227d9a531ccea4dd52cecba6ba0a83d192e - 0.0% (409 Bytes)
[#008] sha256:737ab06420653eae399287eed42b7683530b7e9e8cd8d2bac009b6d4b664eeb5 - 0.13% (483 KB)
[#009] sha256:60e2173fec65d178bff1d2bda6d5d924ec5037698235285e270959e02c12cb22 - 0.0% (1.44 KB)
/bin/sh -c #(nop) ADD file:aa54047c80ba30064fe59adf4c978a929f38480be77af9ac644074bd5288ef18 in /
2020-01-18 00:26:46 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=20200114 org.opencontainers.image.title=CentOS Base Image org.opencontainers.image.vendor=CentOS org.opencontainers.image.licenses=GPL-2.0-only org.opencontainers.image.created=2020-01-14 00:00:00-08:00
2020-01-18 00:26:46 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2020-03-24 15:18:53 UTC/bin/sh -c #(nop) LABEL maintainer=Dimitri Savineau <dsavinea@redhat.com>
2020-03-24 15:18:53 UTC/bin/sh -c #(nop) LABEL ceph=True
2020-03-24 15:18:53 UTC/bin/sh -c #(nop) LABEL RELEASE=v5.0.0-stable-5.0
2020-03-24 15:18:53 UTC/bin/sh -c #(nop) LABEL GIT_REPO=https://github.com/ceph/ceph-container.git
2020-03-24 15:18:54 UTC/bin/sh -c #(nop) LABEL GIT_BRANCH=HEAD
2020-03-24 15:18:54 UTC/bin/sh -c #(nop) LABEL GIT_COMMIT=91c5fa7e302b546e3eb80127d9239de185f6e9d9
2020-03-24 15:18:54 UTC/bin/sh -c #(nop) LABEL GIT_CLEAN=False
2020-03-24 15:18:54 UTC/bin/sh -c #(nop) LABEL CEPH_POINT_RELEASE=
2020-03-24 15:18:54 UTC/bin/sh -c #(nop) ENV CEPH_VERSION=octopus
2020-03-24 15:18:54 UTC/bin/sh -c #(nop) ENV CEPH_POINT_RELEASE=
2020-03-24 15:18:54 UTC/bin/sh -c #(nop) ENV CEPH_DEVEL=false
2020-03-24 15:20:46 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|^wip* ]]; then echo "baseurl=https://download.nfs-ganesha.org/3/LATEST/CentOS/el-\$releasever/\$basearch/" >> /etc/yum.repos.d/ganesha.repo ; echo "gpgcheck=0" >> /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.nfs-ganesha.org/3/LATEST/CentOS/el-\$releasever/noarch" >> /etc/yum.repos.d/ganesha.repo ; elif [[ "${CEPH_VERSION}" == octopus ]]; then echo "baseurl=http://download.ceph.com/nfs-ganesha/rpm-V3.2-stable/$CEPH_VERSION/el\$releasever/\$basearch/" >> /etc/yum.repos.d/ganesha.repo ; echo "gpgcheck=0" >> /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=http://download.ceph.com/nfs-ganesha/rpm-V3.2-stable/$CEPH_VERSION/el\$releasever/noarch/" >> /etc/yum.repos.d/ganesha.repo ; elif [[ "${CEPH_VERSION}" == nautilus ]]; then echo "baseurl=http://download.ceph.com/nfs-ganesha/rpm-V2.8-stable/$CEPH_VERSION/\$basearch/" >> /etc/yum.repos.d/ganesha.repo ; else echo "baseurl=http://download.ceph.com/nfs-ganesha/rpm-V2.7-stable/$CEPH_VERSION/\$basearch/" >> /etc/yum.repos.d/ganesha.repo ; fi ; echo "gpgcheck=0" >> /etc/yum.repos.d/ganesha.repo ; echo "enabled=1" >> /etc/yum.repos.d/ganesha.repo ; 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 > /etc/yum.repos.d/tcmu-runner.repo ; if [[ "${CEPH_VERSION}" =~ master|octopus|^wip* ]]; then curl -s -L https://shaman.ceph.com/api/repos/ceph-iscsi/master/latest/centos/8/repo > /etc/yum.repos.d/ceph-iscsi.repo ; elif [[ "${CEPH_VERSION}" == nautilus ]]; 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 && rpm --import 'https://download.ceph.com/keys/release.asc' && if [[ "${CEPH_VERSION}" == nautilus ]]; then CEPH_MGR_K8SEVENTS="ceph-mgr-k8sevents"; if [[ -n "" ]]; then CPR= ; 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 [[ 8 -eq 8 ]]; then yum install -y dnf-plugins-core ; yum copr enable -y ktdreyer/ceph-el8 ; echo "[lab-extras]" > /etc/yum.repos.d/lab-extras.repo ; echo "name=labextras" >> /etc/yum.repos.d/lab-extras.repo ; echo "baseurl=http://apt-mirror.front.sepia.ceph.com/lab-extras/8/" >> /etc/yum.repos.d/lab-extras.repo ; echo "enabled=1" >> /etc/yum.repos.d/lab-extras.repo ; echo "gpgcheck=0" >> /etc/yum.repos.d/lab-extras.repo ; fi && if [[ "${CEPH_VERSION}" =~ master|^wip* ]] || ${CEPH_DEVEL}; then REPO_URL=$(curl -s "https://shaman.ceph.com/api/search/?project=ceph&distros=centos/8&flavor=default&ref=${CEPH_VERSION}&sha1=latest" | jq -a ".[0] | .url"); RELEASE_VER=0 ; 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" ' && yum install -y ca-certificates e2fsprogs ceph-common ceph-mon ceph-osd ceph-mds rbd-mirror ceph-mgr ceph-mgr-cephadm ceph-mgr-dashboard ceph-mgr-diskprediction-local ceph-mgr-k8sevents ceph-mgr-rook ceph-grafana-dashboards kmod lvm2 gdisk smartmontools nvme-cli libstoragemgmt ceph-radosgw libradosstriper1 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 rbd-nbd && 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 ceph-mon ceph-osd ceph-mds rbd-mirror ceph-mgr ceph-mgr-cephadm ceph-mgr-dashboard ceph-mgr-diskprediction-local ceph-mgr-k8sevents ceph-mgr-rook ceph-grafana-dashboards kmod lvm2 gdisk smartmontools nvme-cli libstoragemgmt ceph-radosgw libradosstriper1 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 rbd-nbd ) && 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 ceph-mon ceph-osd ceph-mds rbd-mirror ceph-mgr ceph-mgr-cephadm ceph-mgr-dashboard ceph-mgr-diskprediction-local ceph-mgr-k8sevents ceph-mgr-rook ceph-grafana-dashboards kmod lvm2 gdisk smartmontools nvme-cli libstoragemgmt ceph-radosgw libradosstriper1 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 rbd-nbd && echo 'Packages verified successfully'
2020-03-24 15:20:47 UTC/bin/sh -c #(nop) LABEL maintainer=Dimitri Savineau <dsavinea@redhat.com>
2020-03-24 15:20:47 UTC/bin/sh -c #(nop) LABEL ceph=True
2020-03-24 15:20:47 UTC/bin/sh -c #(nop) LABEL RELEASE=v5.0.0-stable-5.0
2020-03-24 15:20:47 UTC/bin/sh -c #(nop) LABEL GIT_REPO=https://github.com/ceph/ceph-container.git
2020-03-24 15:20:47 UTC/bin/sh -c #(nop) LABEL GIT_BRANCH=HEAD
2020-03-24 15:20:47 UTC/bin/sh -c #(nop) LABEL GIT_COMMIT=91c5fa7e302b546e3eb80127d9239de185f6e9d9
2020-03-24 15:20:47 UTC/bin/sh -c #(nop) LABEL GIT_CLEAN=False
2020-03-24 15:20:48 UTC/bin/sh -c #(nop) LABEL CEPH_POINT_RELEASE=
2020-03-24 15:21:31 UTC/bin/sh -c echo 'Install packages' && yum install -y wget unzip util-linux python3-setuptools udev device-mapper && yum install -y --enablerepo=PowerTools sharutils lsof s3cmd && echo 'Web install confd' && CONFD_VERSION=0.16.0 && CONFD_ARCH=linux-amd64 && wget -q -O /usr/local/bin/confd "https://github.com/kelseyhightower/confd/releases/download/v${CONFD_VERSION}/confd-${CONFD_VERSION}-${CONFD_ARCH}" && chmod +x /usr/local/bin/confd && mkdir -p /etc/confd/conf.d && mkdir -p /etc/confd/templates && echo 'Web install etcdctl' && ETCDCTL_VERSION=v3.2.18 && ETCDCTL_ARCH=linux-amd64 && wget -q -O- "https://github.com/coreos/etcd/releases/download/${ETCDCTL_VERSION}/etcd-${ETCDCTL_VERSION}-${ETCDCTL_ARCH}.tar.gz" | tar xfz - -C/tmp/ etcd-${ETCDCTL_VERSION}-${ETCDCTL_ARCH}/etcdctl && mv /tmp/etcd-${ETCDCTL_VERSION}-${ETCDCTL_ARCH}/etcdctl /usr/local/bin/etcdctl && echo 'Install forego' && FOREGO_ARCH=linux-amd64 && wget -q -O /forego.tgz "https://bin.equinox.io/c/ekMN3bCZFUn/forego-stable-${FOREGO_ARCH}.tgz" && cd /usr/local/bin && tar xfz /forego.tgz && chmod +x /usr/local/bin/forego && rm /forego.tgz && echo 'Web install kubectl' && KUBECTL_VERSION=v1.8.11 && KUBECTL_ARCH=amd64 && wget -q -O /usr/local/bin/kubectl "https://storage.googleapis.com/kubernetes-release/release/${KUBECTL_VERSION}/bin/linux/${KUBECTL_ARCH}/kubectl" && chmod +x /usr/local/bin/kubectl && INITIAL_SIZE="$(bash -c 'sz="$(du -sm --exclude=/proc /)" ; echo "${sz%*/}"')" && yum clean all && rm -f /usr/bin/{etcd-tester,etcd-dump-logs} && for binary in /usr/local/bin/{confd,forego,kubectl} /usr/bin/etcdctl; do if [ -f "$binary" ]; then gzexe $binary && rm -f ${binary}~; fi; done && rm -f /usr/bin/etcd && bash -c ' function ifstrip () { if compgen -g "$1"; then strip -s "$1"; fi } && ifstrip /usr/local/bin/{confd,forego,kubectl}' && echo "CLEAN DAEMON DONE!" && 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 sharutils lsof s3cmd && echo 'Packages verified successfully'
2020-03-24 15:21:31 UTC/bin/sh -c #(nop) ADD file:3da0f4f6bbde77ee8713c77fb6147badcf45775ce34dad1ef9f5951d173e93b6 in /root/.s3cfg
2020-03-24 15:21:31 UTC/bin/sh -c #(nop) ADD file:9387a4f5c9926b3a16e2da3d1649d09ecaf43ea16839ffee4da82989f7f63bb7 in /etc/confd/templates/
2020-03-24 15:21:32 UTC/bin/sh -c #(nop) ADD file:5433845dc4a405e65161c71a3472cd03ab7bb0b51c6d3c4898c65d2e821eb2ca in /etc/confd/conf.d/
2020-03-24 15:21:35 UTC/bin/sh -c #(nop) ADD multi:437a25b544894fe2983b775ba1f25f62658b69c43735053254567688510417ea in /opt/ceph-container/bin/
2020-03-24 15:21:35 UTC/bin/sh -c #(nop) ADD file:04ebf5d86a50ffd7bb1eb4b2aab09a8cb636809c9cd188ef963170f0701cd364 in /opt/ceph-container/etc/
2020-03-24 15:21:35 UTC/bin/sh -c #(nop) COPY file:5ce0d26ded560bf2f617e62d552a12f831e04f2231edeff943687273a5ea2fe0 in /opt/ceph-container/tmp/sree.tar.gz
2020-03-24 15:21:36 UTC/bin/sh -c bash "/opt/ceph-container/bin/generate_entrypoint.sh" && rm -f /opt/ceph-container/bin/generate_entrypoint.sh && bash -n /opt/ceph-container/bin/*.sh
2020-03-24 15:21:36 UTC/bin/sh -c #(nop) WORKDIR /
2020-03-24 15:21:36 UTC/bin/sh -c #(nop) ENTRYPOINT ["/opt/ceph-container/bin/entrypoint.sh"]
2020-03-24 15:23:06 UTC
315 MB
false
CEPH_POINT_RELEASE CEPH_VERSIONoctopus
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:d6d1431672e7a9ca504ccd0a169af8dabaafadc070133d36ca854231cba344da - 22.2% (69.9 MB)
[#001] sha256:37bb2d8ba8079b352ba26da1cef7b18002efdbfaf7da0bd8744f60322224eeaf - 67.99% (214 MB)
[#002] sha256:decc6a5215b93d37fb29b723cccf10d3940f557309dab3d26d21ffa643d3f153 - 9.65% (30.4 MB)
[#003] sha256:9215408133672e896f309d48ef132bbb4d06a839a1e2736a59fb6c7878298ae5 - 0.0% (766 Bytes)
[#004] sha256:591817b46aca34b1d63bf430d5edc8943194740b6a1715210944bfe4eecd47bb - 0.0% (418 Bytes)
[#005] sha256:3c94d0dd52a066befa60d2b512ec382e18ce4966ccc70515742588fdd2aa9719 - 0.0% (287 Bytes)
[#006] sha256:1925ebc8a23dae261b0d8aa0cdd059f08daf11bbb4c255ad7ba6a130e64b8d13 - 0.01% (31.9 KB)
[#007] sha256:49cd5a5c0e8292fed989e6a966a6a6b909dd2ab602ee63ebeb45ea708c4f7251 - 0.0% (406 Bytes)
[#008] sha256:f776879c74e41a4a9c586232e7d08adde635c062f464e0a5b0a0af80f9ae0f64 - 0.15% (483 KB)
[#009] sha256:003a2f8ac11c0684603772c7f21e322d131e3f21bb3ef6d3f1eb3b02b0b7a97d - 0.0% (3.06 KB)
/bin/sh -c #(nop) ADD file:df16f0875beb3e2ec874706b70847129bcf4e49337f275e0018b0d9eb46512cf in /
2020-01-17 23:39:30 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=20200114 org.opencontainers.image.title=CentOS Base Image org.opencontainers.image.vendor=CentOS org.opencontainers.image.licenses=GPL-2.0-only org.opencontainers.image.created=2020-01-14 00:00:00-08:00
2020-01-17 23:39:30 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2020-03-24 15:18:12 UTC/bin/sh -c #(nop) LABEL maintainer=Dimitri Savineau <dsavinea@redhat.com>
2020-03-24 15:18:13 UTC/bin/sh -c #(nop) LABEL ceph=True
2020-03-24 15:18:13 UTC/bin/sh -c #(nop) LABEL RELEASE=v5.0.0-stable-5.0
2020-03-24 15:18:13 UTC/bin/sh -c #(nop) LABEL GIT_REPO=https://github.com/ceph/ceph-container.git
2020-03-24 15:18:13 UTC/bin/sh -c #(nop) LABEL GIT_BRANCH=HEAD
2020-03-24 15:18:14 UTC/bin/sh -c #(nop) LABEL GIT_COMMIT=91c5fa7e302b546e3eb80127d9239de185f6e9d9
2020-03-24 15:18:14 UTC/bin/sh -c #(nop) LABEL GIT_CLEAN=False
2020-03-24 15:18:14 UTC/bin/sh -c #(nop) LABEL CEPH_POINT_RELEASE=
2020-03-24 15:18:15 UTC/bin/sh -c #(nop) ENV CEPH_VERSION=octopus
2020-03-24 15:18:15 UTC/bin/sh -c #(nop) ENV CEPH_POINT_RELEASE=
2020-03-24 15:18:15 UTC/bin/sh -c #(nop) ENV CEPH_DEVEL=false
2020-03-24 15:21:30 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|^wip* ]]; then echo "baseurl=https://download.nfs-ganesha.org/3/LATEST/CentOS/el-\$releasever/\$basearch/" >> /etc/yum.repos.d/ganesha.repo ; echo "gpgcheck=0" >> /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.nfs-ganesha.org/3/LATEST/CentOS/el-\$releasever/noarch" >> /etc/yum.repos.d/ganesha.repo ; elif [[ "${CEPH_VERSION}" == octopus ]]; then echo "baseurl=http://download.ceph.com/nfs-ganesha/rpm-V3.2-stable/$CEPH_VERSION/el\$releasever/\$basearch/" >> /etc/yum.repos.d/ganesha.repo ; echo "gpgcheck=0" >> /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=http://download.ceph.com/nfs-ganesha/rpm-V3.2-stable/$CEPH_VERSION/el\$releasever/noarch/" >> /etc/yum.repos.d/ganesha.repo ; elif [[ "${CEPH_VERSION}" == nautilus ]]; then echo "baseurl=http://download.ceph.com/nfs-ganesha/rpm-V2.8-stable/$CEPH_VERSION/\$basearch/" >> /etc/yum.repos.d/ganesha.repo ; else echo "baseurl=http://download.ceph.com/nfs-ganesha/rpm-V2.7-stable/$CEPH_VERSION/\$basearch/" >> /etc/yum.repos.d/ganesha.repo ; fi ; echo "gpgcheck=0" >> /etc/yum.repos.d/ganesha.repo ; echo "enabled=1" >> /etc/yum.repos.d/ganesha.repo ; fi ; if [ -n "" ]; then curl -s -L https://shaman.ceph.com/api/repos/tcmu-runner/master/latest/centos/8/repo > /etc/yum.repos.d/tcmu-runner.repo ; if [[ "${CEPH_VERSION}" =~ master|octopus|^wip* ]]; then curl -s -L https://shaman.ceph.com/api/repos/ceph-iscsi/master/latest/centos/8/repo > /etc/yum.repos.d/ceph-iscsi.repo ; elif [[ "${CEPH_VERSION}" == nautilus ]]; 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 && rpm --import 'https://download.ceph.com/keys/release.asc' && if [[ "${CEPH_VERSION}" == nautilus ]]; then CEPH_MGR_K8SEVENTS="ceph-mgr-k8sevents"; if [[ -n "" ]]; then CPR= ; 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 [[ 8 -eq 8 ]]; then yum install -y dnf-plugins-core ; yum copr enable -y ktdreyer/ceph-el8 ; echo "[lab-extras]" > /etc/yum.repos.d/lab-extras.repo ; echo "name=labextras" >> /etc/yum.repos.d/lab-extras.repo ; echo "baseurl=http://apt-mirror.front.sepia.ceph.com/lab-extras/8/" >> /etc/yum.repos.d/lab-extras.repo ; echo "enabled=1" >> /etc/yum.repos.d/lab-extras.repo ; echo "gpgcheck=0" >> /etc/yum.repos.d/lab-extras.repo ; fi && if [[ "${CEPH_VERSION}" =~ master|^wip* ]] || ${CEPH_DEVEL}; then REPO_URL=$(curl -s "https://shaman.ceph.com/api/search/?project=ceph&distros=centos/8&flavor=default&ref=${CEPH_VERSION}&sha1=latest" | jq -a ".[0] | .url"); RELEASE_VER=0 ; 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" ' && yum install -y ca-certificates e2fsprogs ceph-common ceph-mon ceph-osd ceph-mds rbd-mirror ceph-mgr ceph-mgr-cephadm ceph-mgr-dashboard ceph-mgr-diskprediction-local ceph-mgr-k8sevents ceph-mgr-rook ceph-grafana-dashboards kmod lvm2 gdisk smartmontools nvme-cli libstoragemgmt ceph-radosgw libradosstriper1 attr ceph-fuse rbd-nbd && 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 ceph-mon ceph-osd ceph-mds rbd-mirror ceph-mgr ceph-mgr-cephadm ceph-mgr-dashboard ceph-mgr-diskprediction-local ceph-mgr-k8sevents ceph-mgr-rook ceph-grafana-dashboards kmod lvm2 gdisk smartmontools nvme-cli libstoragemgmt ceph-radosgw libradosstriper1 attr ceph-fuse rbd-nbd ) && 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 ceph-mon ceph-osd ceph-mds rbd-mirror ceph-mgr ceph-mgr-cephadm ceph-mgr-dashboard ceph-mgr-diskprediction-local ceph-mgr-k8sevents ceph-mgr-rook ceph-grafana-dashboards kmod lvm2 gdisk smartmontools nvme-cli libstoragemgmt ceph-radosgw libradosstriper1 attr ceph-fuse rbd-nbd && echo 'Packages verified successfully'
2020-03-24 15:21:33 UTC/bin/sh -c #(nop) LABEL maintainer=Dimitri Savineau <dsavinea@redhat.com>
2020-03-24 15:21:33 UTC/bin/sh -c #(nop) LABEL ceph=True
2020-03-24 15:21:33 UTC/bin/sh -c #(nop) LABEL RELEASE=v5.0.0-stable-5.0
2020-03-24 15:21:34 UTC/bin/sh -c #(nop) LABEL GIT_REPO=https://github.com/ceph/ceph-container.git
2020-03-24 15:21:34 UTC/bin/sh -c #(nop) LABEL GIT_BRANCH=HEAD
2020-03-24 15:21:35 UTC/bin/sh -c #(nop) LABEL GIT_COMMIT=91c5fa7e302b546e3eb80127d9239de185f6e9d9
2020-03-24 15:21:35 UTC/bin/sh -c #(nop) LABEL GIT_CLEAN=False
2020-03-24 15:21:35 UTC/bin/sh -c #(nop) LABEL CEPH_POINT_RELEASE=
2020-03-24 15:22:54 UTC/bin/sh -c echo 'Install packages' && yum install -y wget unzip util-linux python3-setuptools udev device-mapper && yum install -y --enablerepo=PowerTools sharutils lsof s3cmd && echo 'Web install confd' && CONFD_VERSION=0.16.0 && CONFD_ARCH=linux-arm64 && wget -q -O /usr/local/bin/confd "https://github.com/kelseyhightower/confd/releases/download/v${CONFD_VERSION}/confd-${CONFD_VERSION}-${CONFD_ARCH}" && chmod +x /usr/local/bin/confd && mkdir -p /etc/confd/conf.d && mkdir -p /etc/confd/templates && echo 'Web install etcdctl' && ETCDCTL_VERSION=v3.2.18 && ETCDCTL_ARCH=linux-arm64 && wget -q -O- "https://github.com/coreos/etcd/releases/download/${ETCDCTL_VERSION}/etcd-${ETCDCTL_VERSION}-${ETCDCTL_ARCH}.tar.gz" | tar xfz - -C/tmp/ etcd-${ETCDCTL_VERSION}-${ETCDCTL_ARCH}/etcdctl && mv /tmp/etcd-${ETCDCTL_VERSION}-${ETCDCTL_ARCH}/etcdctl /usr/local/bin/etcdctl && echo 'Install forego' && FOREGO_ARCH=linux-arm64 && wget -q -O /forego.tgz "https://bin.equinox.io/c/ekMN3bCZFUn/forego-stable-${FOREGO_ARCH}.tgz" && cd /usr/local/bin && tar xfz /forego.tgz && chmod +x /usr/local/bin/forego && rm /forego.tgz && echo 'Web install kubectl' && KUBECTL_VERSION=v1.8.11 && KUBECTL_ARCH=arm64 && wget -q -O /usr/local/bin/kubectl "https://storage.googleapis.com/kubernetes-release/release/${KUBECTL_VERSION}/bin/linux/${KUBECTL_ARCH}/kubectl" && chmod +x /usr/local/bin/kubectl && INITIAL_SIZE="$(bash -c 'sz="$(du -sm --exclude=/proc /)" ; echo "${sz%*/}"')" && yum clean all && rm -f /usr/bin/{etcd-tester,etcd-dump-logs} && for binary in /usr/local/bin/{confd,forego,kubectl} /usr/bin/etcdctl; do if [ -f "$binary" ]; then gzexe $binary && rm -f ${binary}~; fi; done && rm -f /usr/bin/etcd && bash -c ' function ifstrip () { if compgen -g "$1"; then strip -s "$1"; fi } && ifstrip /usr/local/bin/{confd,forego,kubectl}' && echo "CLEAN DAEMON DONE!" && 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 sharutils lsof s3cmd && echo 'Packages verified successfully'
2020-03-24 15:22:55 UTC/bin/sh -c #(nop) ADD file:3da0f4f6bbde77ee8713c77fb6147badcf45775ce34dad1ef9f5951d173e93b6 in /root/.s3cfg
2020-03-24 15:22:55 UTC/bin/sh -c #(nop) ADD file:9387a4f5c9926b3a16e2da3d1649d09ecaf43ea16839ffee4da82989f7f63bb7 in /etc/confd/templates/
2020-03-24 15:22:56 UTC/bin/sh -c #(nop) ADD file:5433845dc4a405e65161c71a3472cd03ab7bb0b51c6d3c4898c65d2e821eb2ca in /etc/confd/conf.d/
2020-03-24 15:23:03 UTC/bin/sh -c #(nop) ADD multi:e872c856d82ad39da4e36afa401d20ace9a837b1b6ef6a17557f50d4871b9332 in /opt/ceph-container/bin/
2020-03-24 15:23:03 UTC/bin/sh -c #(nop) ADD file:04ebf5d86a50ffd7bb1eb4b2aab09a8cb636809c9cd188ef963170f0701cd364 in /opt/ceph-container/etc/
2020-03-24 15:23:04 UTC/bin/sh -c #(nop) COPY file:5ce0d26ded560bf2f617e62d552a12f831e04f2231edeff943687273a5ea2fe0 in /opt/ceph-container/tmp/sree.tar.gz
2020-03-24 15:23:06 UTC/bin/sh -c bash "/opt/ceph-container/bin/generate_entrypoint.sh" && rm -f /opt/ceph-container/bin/generate_entrypoint.sh && bash -n /opt/ceph-container/bin/*.sh
2020-03-24 15:23:06 UTC/bin/sh -c #(nop) WORKDIR /
2020-03-24 15:23:06 UTC/bin/sh -c #(nop) ENTRYPOINT ["/opt/ceph-container/bin/entrypoint.sh"]
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.