2021-03-24 16:14:33 UTC
345 MB
false
CEPH_POINT_RELEASE CEPH_REFpacific
CEPH_VERSIONpacific
OSD_FLAVORdefault
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:333cbcae3fb80b9a46084ae4caea81a84aafda9700fb646ab89206d0cfe213fd - 20.88% (72.1 MB)
[#001] sha256:828599dc120a9d552349ecb0a682fff6a93759e72e05232a2ca2bd7a69052491 - 70.12% (242 MB)
[#002] sha256:e270281551d07a2b33b06b5a854277b045108bd4cfccd5630a5ea5392b5f7a55 - 8.85% (30.5 MB)
[#003] sha256:abdccf8f675fe37038639a66617cdb7c0a39b0cec1dd42d54a62098c0717fdb1 - 0.0% (766 Bytes)
[#004] sha256:4f65f0737d555c7ceaeab580b665a05eb5a8345693afd30550fcd0808268abc4 - 0.0% (420 Bytes)
[#005] sha256:3e242e4654d7cff4ba153266b7eb4b0b53c492d8cce2cfebda7763039fa2a85d - 0.0% (290 Bytes)
[#006] sha256:a6aa123c500fcc95c18c2c4b089d63918fb0db78e4176ee9007b68a71ea41a5f - 0.01% (32 KB)
[#007] sha256:4818a1d5c53d3e23a0982e2906db865517720fb01fb878a3f2cba32f4ce2efd0 - 0.0% (409 Bytes)
[#008] sha256:bdd212d101c0ba9a426cab31f9238499b789a5110f3d69f23fe04cce4d716d03 - 0.14% (483 KB)
[#009] sha256:4d499f3a30ded88a895f424e3f772f46b6fdb219f763e906ab51a933c3c12006 - 0.0% (3.09 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-03-24 15:52:09 UTC/bin/sh -c #(nop) LABEL maintainer=Dimitri Savineau <dsavinea@redhat.com>
2021-03-24 15:52:10 UTC/bin/sh -c #(nop) LABEL ceph=True
2021-03-24 15:52:10 UTC/bin/sh -c #(nop) LABEL RELEASE=master-50c6273
2021-03-24 15:52:10 UTC/bin/sh -c #(nop) LABEL GIT_REPO=https://github.com/ceph/ceph-container.git
2021-03-24 15:52:10 UTC/bin/sh -c #(nop) LABEL GIT_BRANCH=HEAD
2021-03-24 15:52:11 UTC/bin/sh -c #(nop) LABEL GIT_COMMIT=50c62733fe9962908c16f14743ac0d9988ccdf06
2021-03-24 15:52:11 UTC/bin/sh -c #(nop) LABEL GIT_CLEAN=False
2021-03-24 15:52:11 UTC/bin/sh -c #(nop) LABEL CEPH_POINT_RELEASE=
2021-03-24 16:09:22 UTC/bin/sh -c #(nop) ENV CEPH_VERSION=pacific
2021-03-24 16:09:22 UTC/bin/sh -c #(nop) ENV CEPH_POINT_RELEASE=
2021-03-24 16:09:22 UTC/bin/sh -c #(nop) ENV CEPH_DEVEL=false
2021-03-24 16:09:23 UTC/bin/sh -c #(nop) ENV CEPH_REF=pacific
2021-03-24 16:09:23 UTC/bin/sh -c #(nop) ENV OSD_FLAVOR=default
2021-03-24 16:12:54 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 ; 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=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.ceph.com/nfs-ganesha/rpm-V3.5-stable/$CEPH_VERSION/el\$releasever/noarch/" >> /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=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.ceph.com/nfs-ganesha/rpm-V3.3-stable/$CEPH_VERSION/el\$releasever/noarch/" >> /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 ; else echo "baseurl=https://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 $(curl -s "https://shaman.ceph.com/api/search/?project=tcmu-runner&distros=centos/8/$(arch)&ref=master&sha1=latest" | jq -r .[0].chacra_url)repo > /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 > /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 && 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 [[ "${CEPH_VERSION}" =~ master|pacific ]] || ${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"; 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 ca-certificates e2fsprogs ceph-common ceph-mon ceph-osd ceph-mds cephfs-mirror 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 ${CRIMSON_PACKAGES} ceph-immutable-object-cache 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 ceph-mon ceph-osd ceph-mds cephfs-mirror 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 ${CRIMSON_PACKAGES} ceph-immutable-object-cache 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 ceph-mon ceph-osd ceph-mds cephfs-mirror 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 ${CRIMSON_PACKAGES} ceph-immutable-object-cache python3-scikit-learn && echo 'Packages verified successfully'
2021-03-24 16:12:57 UTC/bin/sh -c #(nop) LABEL maintainer=Dimitri Savineau <dsavinea@redhat.com>
2021-03-24 16:12:57 UTC/bin/sh -c #(nop) LABEL ceph=True
2021-03-24 16:12:57 UTC/bin/sh -c #(nop) LABEL RELEASE=master-50c6273
2021-03-24 16:12:58 UTC/bin/sh -c #(nop) LABEL GIT_REPO=https://github.com/ceph/ceph-container.git
2021-03-24 16:12:58 UTC/bin/sh -c #(nop) LABEL GIT_BRANCH=HEAD
2021-03-24 16:12:58 UTC/bin/sh -c #(nop) LABEL GIT_COMMIT=50c62733fe9962908c16f14743ac0d9988ccdf06
2021-03-24 16:12:59 UTC/bin/sh -c #(nop) LABEL GIT_CLEAN=False
2021-03-24 16:12:59 UTC/bin/sh -c #(nop) LABEL CEPH_POINT_RELEASE=
2021-03-24 16:14:22 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 - --no-same-owner -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'
2021-03-24 16:14:22 UTC/bin/sh -c #(nop) ADD file:f95578523e7fdce1058b47bfb6934516fccdb6024ffa30872e57d21ecf9dd477 in /root/.s3cfg
2021-03-24 16:14:23 UTC/bin/sh -c #(nop) ADD file:b3b0a3bebef9ea5309420aef848bf79d3c89e48fa4344296197079a83b57b635 in /etc/confd/templates/
2021-03-24 16:14:23 UTC/bin/sh -c #(nop) ADD file:8b5ea4ffe74407d21746ad9d3f68d95d58d076211027ccb35c89caf7ab501d81 in /etc/confd/conf.d/
2021-03-24 16:14:30 UTC/bin/sh -c #(nop) ADD multi:e57e6220fffa920a43773c4a600b8df8dcca469b2285017ba766c2e59868fda3 in /opt/ceph-container/bin/
2021-03-24 16:14:31 UTC/bin/sh -c #(nop) ADD file:991d958f11565a20e6635ca3b4343d51113f52a0116bd41221b3272baf05d985 in /opt/ceph-container/etc/
2021-03-24 16:14:31 UTC/bin/sh -c #(nop) COPY file:b0394ab6a132bb40ba4d8e42e1db6db1ac5d46d5b451f63f7b781ea268ea5058 in /opt/ceph-container/tmp/sree.tar.gz
2021-03-24 16:14:33 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
2021-03-24 16:14:33 UTC/bin/sh -c #(nop) WORKDIR /
2021-03-24 16:14:33 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.