2020-09-16 19:12:38 UTC
307 MB
false
CEPH_POINT_RELEASE CEPH_VERSIONoctopus
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:deeb10e3e252e0ed6520bbaa2570413f3c1517305f8f397c3d59ae791ac23678 - 23.47% (71.9 MB)
[#001] sha256:88b631e976d097c42526361918bc750fcb3d99988dff8405446a2347e077c6b6 - 66.61% (204 MB)
[#002] sha256:1b25cd782626ba121a860671b12cf64917c573c046ab79d06f47542ede360aec - 9.75% (29.9 MB)
[#003] sha256:7f372b6a5ece1398d4214d8a5fdaa077a8fdce60af74fbc96e78ef26976784c0 - 0.0% (765 Bytes)
[#004] sha256:6d18d40e4d2fac1ff78a3d32ff357964ac0295f983c1084b5243a35d45afaabc - 0.0% (419 Bytes)
[#005] sha256:31e23c65a9cc63a9f49598b559e5565bc0ef79e93dc6dac7ef38191f112b7c5e - 0.0% (288 Bytes)
[#006] sha256:283a65ed6a03149a604bfd1609a75c690cb003aeea0e1daee0ad9161662fc5f4 - 0.01% (31.9 KB)
[#007] sha256:a1ac80e25de533d8ef68e35f8d1b7c66b30c85215ea504a24d8361c510e34507 - 0.0% (408 Bytes)
[#008] sha256:30b06081a3101fa09a4a779aa214c719926369e1865da210a87389ec8ba5f15a - 0.15% (483 KB)
[#009] sha256:9ee40b6e36dd78363d1aefceb0be41685a36953b4d75e5d41c3cf4e5f1e1939a - 0.0% (3.09 KB)
/bin/sh -c #(nop) ADD file:9aef459f0ff88a7706ee982d7bfa724ae81676e2bf94ebc8fcd9043c73e72499 in /
2020-08-10 18:39:50 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=20200809
2020-08-10 18:39:51 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2020-09-16 19:07:40 UTC/bin/sh -c #(nop) LABEL maintainer=Dimitri Savineau <dsavinea@redhat.com>
2020-09-16 19:07:41 UTC/bin/sh -c #(nop) LABEL ceph=True
2020-09-16 19:07:41 UTC/bin/sh -c #(nop) LABEL RELEASE=v5.0.3-stable-5.0
2020-09-16 19:07:41 UTC/bin/sh -c #(nop) LABEL GIT_REPO=https://github.com/ceph/ceph-container.git
2020-09-16 19:07:42 UTC/bin/sh -c #(nop) LABEL GIT_BRANCH=HEAD
2020-09-16 19:07:42 UTC/bin/sh -c #(nop) LABEL GIT_COMMIT=4f15fb497fbd57b2e435b3038ad7077e52344f86
2020-09-16 19:07:42 UTC/bin/sh -c #(nop) LABEL GIT_CLEAN=False
2020-09-16 19:07:43 UTC/bin/sh -c #(nop) LABEL CEPH_POINT_RELEASE=
2020-09-16 19:07:43 UTC/bin/sh -c #(nop) ENV CEPH_VERSION=octopus
2020-09-16 19:07:43 UTC/bin/sh -c #(nop) ENV CEPH_POINT_RELEASE=
2020-09-16 19:07:43 UTC/bin/sh -c #(nop) ENV CEPH_DEVEL=false
2020-09-16 19:11:06 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=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 https://shaman.ceph.com/api/repos/tcmu-runner/master/latest/centos/8/repo > /etc/yum.repos.d/tcmu-runner.repo ; if [[ "${CEPH_VERSION}" =~ master|^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|octopus ]]; 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|^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-09-16 19:11:09 UTC/bin/sh -c #(nop) LABEL maintainer=Dimitri Savineau <dsavinea@redhat.com>
2020-09-16 19:11:09 UTC/bin/sh -c #(nop) LABEL ceph=True
2020-09-16 19:11:09 UTC/bin/sh -c #(nop) LABEL RELEASE=v5.0.3-stable-5.0
2020-09-16 19:11:10 UTC/bin/sh -c #(nop) LABEL GIT_REPO=https://github.com/ceph/ceph-container.git
2020-09-16 19:11:10 UTC/bin/sh -c #(nop) LABEL GIT_BRANCH=HEAD
2020-09-16 19:11:10 UTC/bin/sh -c #(nop) LABEL GIT_COMMIT=4f15fb497fbd57b2e435b3038ad7077e52344f86
2020-09-16 19:11:11 UTC/bin/sh -c #(nop) LABEL GIT_CLEAN=False
2020-09-16 19:11:11 UTC/bin/sh -c #(nop) LABEL CEPH_POINT_RELEASE=
2020-09-16 19:12:26 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-09-16 19:12:27 UTC/bin/sh -c #(nop) ADD file:3da0f4f6bbde77ee8713c77fb6147badcf45775ce34dad1ef9f5951d173e93b6 in /root/.s3cfg
2020-09-16 19:12:27 UTC/bin/sh -c #(nop) ADD file:9387a4f5c9926b3a16e2da3d1649d09ecaf43ea16839ffee4da82989f7f63bb7 in /etc/confd/templates/
2020-09-16 19:12:28 UTC/bin/sh -c #(nop) ADD file:5433845dc4a405e65161c71a3472cd03ab7bb0b51c6d3c4898c65d2e821eb2ca in /etc/confd/conf.d/
2020-09-16 19:12:35 UTC/bin/sh -c #(nop) ADD multi:df35200b628a3b07770e9263d5b25585e9b9fc377ca10e017338be05c93daa8a in /opt/ceph-container/bin/
2020-09-16 19:12:36 UTC/bin/sh -c #(nop) ADD file:04ebf5d86a50ffd7bb1eb4b2aab09a8cb636809c9cd188ef963170f0701cd364 in /opt/ceph-container/etc/
2020-09-16 19:12:36 UTC/bin/sh -c #(nop) COPY file:836ba40cf1ebb406ae985985773e0b50a4e1343bf65d900393e5cfbaf69bbf95 in /opt/ceph-container/tmp/sree.tar.gz
2020-09-16 19:12:38 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-09-16 19:12:38 UTC/bin/sh -c #(nop) WORKDIR /
2020-09-16 19:12:38 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.