2021-03-15 21:20:19 UTC
335 MB
false
CEPH_POINT_RELEASE CEPH_REFnautilus
CEPH_VERSIONnautilus
OSD_FLAVORdefault
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:2d473b07cdd5f0912cd6f1a703352c82b512407db6b05b43f2553732b55df3bc - 21.66% (72.6 MB)
[#001] sha256:2099a49ac42f289da9588ce4237648c130254811604b8d761972e23fa65f18cb - 66.78% (224 MB)
[#002] sha256:684a82cb635315343d4ff49d3936dc4fa5ca76ff88c952fb0eee48b537af099e - 11.41% (38.2 MB)
[#003] sha256:5dbd0cb5f516065c68c627c70b1a71995e6dad27b39482c269c56ac834543573 - 0.0% (767 Bytes)
[#004] sha256:c8f5e402de508a25d88b625d2eb4455ea1fb07cb9ef4cfa9b6b0eda9c2664a5c - 0.0% (427 Bytes)
[#005] sha256:c29506a0d12f96d9b52865801d72085fadbb1e20ca7c46e3969980a9abac54ed - 0.0% (295 Bytes)
[#006] sha256:10fb6b4e68eca95d77ebc1a7894d4b4395a06fca938970bc7d01257d7fac7091 - 0.01% (32 KB)
[#007] sha256:da8fbb5448f46710d8751818c87df9f3bebfab5c106818aa1483ae2fa9d84ed3 - 0.0% (437 Bytes)
[#008] sha256:a367b782b51a82ed84eb776ca3dffb15595f86a80e0f7578b47c1ccb40fd9084 - 0.14% (483 KB)
[#009] sha256:327c39a4b7496b338d7765212c80013e711ca61d6e3384a559a631a9e10d92c4 - 0.0% (1.44 KB)
/bin/sh -c #(nop) ADD file:b3ebbe8bd304723d43b7b44a6d990cd657b63d93d6a2a9293983a30bfc1dfa53 in /
2020-11-14 00: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=20201113 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-11-13 00:00:00+00:00
2020-11-14 00:20:04 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2021-03-15 21:07:42 UTC/bin/sh -c #(nop) LABEL maintainer=Dimitri Savineau <dsavinea@redhat.com>
2021-03-15 21:07:45 UTC/bin/sh -c #(nop) LABEL ceph=True
2021-03-15 21:07:48 UTC/bin/sh -c #(nop) LABEL RELEASE=master-de736a0
2021-03-15 21:07:51 UTC/bin/sh -c #(nop) LABEL GIT_REPO=https://github.com/ceph/ceph-container.git
2021-03-15 21:07:54 UTC/bin/sh -c #(nop) LABEL GIT_BRANCH=HEAD
2021-03-15 21:07:57 UTC/bin/sh -c #(nop) LABEL GIT_COMMIT=de736a0b22092899d27e9af982f194a87d30aac6
2021-03-15 21:07:59 UTC/bin/sh -c #(nop) LABEL GIT_CLEAN=False
2021-03-15 21:08:03 UTC/bin/sh -c #(nop) LABEL CEPH_POINT_RELEASE=
2021-03-15 21:08:06 UTC/bin/sh -c #(nop) ENV CEPH_VERSION=nautilus
2021-03-15 21:08:09 UTC/bin/sh -c #(nop) ENV CEPH_POINT_RELEASE=
2021-03-15 21:08:12 UTC/bin/sh -c #(nop) ENV CEPH_DEVEL=false
2021-03-15 21:08:15 UTC/bin/sh -c #(nop) ENV CEPH_REF=nautilus
2021-03-15 21:08:18 UTC/bin/sh -c #(nop) ENV OSD_FLAVOR=default
2021-03-15 21:19: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" ]; then echo "[ganesha]" > /etc/yum.repos.d/ganesha.repo ; echo "name=ganesha" >> /etc/yum.repos.d/ganesha.repo ; if [[ "${CEPH_VERSION}" =~ master|pacific ]]; then echo "baseurl=https://buildlogs.centos.org/centos/\$releasever/storage/\$basearch/nfsganesha-3/" >> /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 "tcmu-runner ceph-iscsi python-rtslib" ]; then curl -s -L https://shaman.ceph.com/api/repos/tcmu-runner/master/latest/centos/7/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/7/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/el7/ceph-iscsi.repo -o /etc/yum.repos.d/ceph-iscsi.repo ; else curl -s -L https://download.ceph.com/ceph-iscsi/2/rpm/el7/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/7/${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}/el7/"; fi && rpm -Uvh "$REPO_URL/noarch/ceph-release-1-${RELEASE_VER}.el7.noarch.rpm" && if [[ 7 -eq 8 ]]; then yum install -y dnf-plugins-core ; yum copr enable -y tchaikov/python-scikit-learn ; yum install -y python3-scikit-learn ; fi ' && yum install -y gperftools-libs && yum install -y ca-certificates e2fsprogs ceph-common ceph-mon ceph-osd ceph-mds rbd-mirror ceph-mgr 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 tcmu-runner ceph-iscsi python-rtslib attr ceph-fuse rbd-nbd ${CRIMSON_PACKAGES} && 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 && rpmdb --rebuilddb && rpm -q ca-certificates e2fsprogs ceph-common ceph-mon ceph-osd ceph-mds rbd-mirror ceph-mgr 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 tcmu-runner ceph-iscsi python-rtslib attr ceph-fuse rbd-nbd ${CRIMSON_PACKAGES} && yum-config-manager --disable ceph-iscsi ceph-iscsi-source ceph-iscsi-noarch tcmu-runner tcmu-runner-noarch tcmu-runner-source) && 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,systemd,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-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 tcmu-runner ceph-iscsi python-rtslib attr ceph-fuse rbd-nbd ${CRIMSON_PACKAGES} && echo 'Packages verified successfully'
2021-03-15 21:19:14 UTC/bin/sh -c #(nop) LABEL maintainer=Dimitri Savineau <dsavinea@redhat.com>
2021-03-15 21:19:16 UTC/bin/sh -c #(nop) LABEL ceph=True
2021-03-15 21:19:17 UTC/bin/sh -c #(nop) LABEL RELEASE=master-de736a0
2021-03-15 21:19:18 UTC/bin/sh -c #(nop) LABEL GIT_REPO=https://github.com/ceph/ceph-container.git
2021-03-15 21:19:20 UTC/bin/sh -c #(nop) LABEL GIT_BRANCH=HEAD
2021-03-15 21:19:21 UTC/bin/sh -c #(nop) LABEL GIT_COMMIT=de736a0b22092899d27e9af982f194a87d30aac6
2021-03-15 21:19:22 UTC/bin/sh -c #(nop) LABEL GIT_CLEAN=False
2021-03-15 21:19:24 UTC/bin/sh -c #(nop) LABEL CEPH_POINT_RELEASE=
2021-03-15 21:20:05 UTC/bin/sh -c echo 'Install packages' && yum install -y wget unzip util-linux python-setuptools udev device-mapper && yum install -y sharutils lsof kubernetes-client etcd 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 '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 && 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,systemd,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 kubernetes-client etcd s3cmd && echo 'Packages verified successfully'
2021-03-15 21:20:07 UTC/bin/sh -c #(nop) ADD file:f95578523e7fdce1058b47bfb6934516fccdb6024ffa30872e57d21ecf9dd477 in /root/.s3cfg
2021-03-15 21:20:07 UTC/bin/sh -c #(nop) ADD file:b3b0a3bebef9ea5309420aef848bf79d3c89e48fa4344296197079a83b57b635 in /etc/confd/templates/
2021-03-15 21:20:08 UTC/bin/sh -c #(nop) ADD file:8b5ea4ffe74407d21746ad9d3f68d95d58d076211027ccb35c89caf7ab501d81 in /etc/confd/conf.d/
2021-03-15 21:20:12 UTC/bin/sh -c #(nop) ADD multi:fb4f26f24277cf884d58350215f487c697236b4b2160b63b73e3c89284fd52ab in /opt/ceph-container/bin/
2021-03-15 21:20:13 UTC/bin/sh -c #(nop) ADD file:991d958f11565a20e6635ca3b4343d51113f52a0116bd41221b3272baf05d985 in /opt/ceph-container/etc/
2021-03-15 21:20:14 UTC/bin/sh -c #(nop) COPY file:b0394ab6a132bb40ba4d8e42e1db6db1ac5d46d5b451f63f7b781ea268ea5058 in /opt/ceph-container/tmp/sree.tar.gz
2021-03-15 21:20:17 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-15 21:20:18 UTC/bin/sh -c #(nop) WORKDIR /
2021-03-15 21:20:19 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.