2020-04-24 15:33:32 UTC
319 MB
false
CEPH_POINT_RELEASE CEPH_VERSIONoctopus
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:d6d1431672e7a9ca504ccd0a169af8dabaafadc070133d36ca854231cba344da - 21.93% (69.9 MB)
[#001] sha256:2bd311ff778371e808bc8d24d1356e77799e35b691a4e9d7f020264f4d199e43 - 68.36% (218 MB)
[#002] sha256:0818922bac91bf7137ae576715c252ffced7b0c63afbcb24857ad1f3836cd94e - 9.54% (30.4 MB)
[#003] sha256:b6d593d3e0c28a5d5fa55896e7a170b3f53652936aebe4b8d88aca145ce6d191 - 0.0% (764 Bytes)
[#004] sha256:5dbf760bcb431e6c6e6398602f9ccd7c4283893684e837d2e025a910b2a4cd7b - 0.0% (419 Bytes)
[#005] sha256:5909f567ff925ec7bfe91a7becd830ecc516b31bf56ccca014f17021733dc944 - 0.0% (288 Bytes)
[#006] sha256:6f7b4a61a317cebff18eac583319ae69a3bc7a045ba7b9b994e7d2a7ff67f2eb - 0.01% (31.9 KB)
[#007] sha256:50bc41ff4dcc4e147cf7cdf5f130a9d3d9abfa039d743b7af8761bea5b3321ac - 0.0% (413 Bytes)
[#008] sha256:7e86ae7d26085bf99c1a23fdf642a418678257cd8ac66e841860269f53e95af4 - 0.15% (483 KB)
[#009] sha256:39b73d615d9a9bf1c74b8a09973cbfaf8a9648daf96e914b7fc956c717b46dea - 0.0% (3.07 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-04-24 15:27:50 UTC/bin/sh -c #(nop) LABEL maintainer=Dimitri Savineau <dsavinea@redhat.com>
2020-04-24 15:27:50 UTC/bin/sh -c #(nop) LABEL ceph=True
2020-04-24 15:27:51 UTC/bin/sh -c #(nop) LABEL RELEASE=master-6340c09
2020-04-24 15:27:51 UTC/bin/sh -c #(nop) LABEL GIT_REPO=https://github.com/ceph/ceph-container.git
2020-04-24 15:27:51 UTC/bin/sh -c #(nop) LABEL GIT_BRANCH=HEAD
2020-04-24 15:27:51 UTC/bin/sh -c #(nop) LABEL GIT_COMMIT=6340c096ab7f71832625617e069e989918dc6ea2
2020-04-24 15:27:52 UTC/bin/sh -c #(nop) LABEL GIT_CLEAN=False
2020-04-24 15:27:52 UTC/bin/sh -c #(nop) LABEL CEPH_POINT_RELEASE=
2020-04-24 15:27:52 UTC/bin/sh -c #(nop) ENV CEPH_VERSION=octopus
2020-04-24 15:27:53 UTC/bin/sh -c #(nop) ENV CEPH_POINT_RELEASE=
2020-04-24 15:27:53 UTC/bin/sh -c #(nop) ENV CEPH_DEVEL=false
2020-04-24 15:31:44 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|^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 [[ 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-04-24 15:31:47 UTC/bin/sh -c #(nop) LABEL maintainer=Dimitri Savineau <dsavinea@redhat.com>
2020-04-24 15:31:47 UTC/bin/sh -c #(nop) LABEL ceph=True
2020-04-24 15:31:47 UTC/bin/sh -c #(nop) LABEL RELEASE=master-6340c09
2020-04-24 15:31:48 UTC/bin/sh -c #(nop) LABEL GIT_REPO=https://github.com/ceph/ceph-container.git
2020-04-24 15:31:48 UTC/bin/sh -c #(nop) LABEL GIT_BRANCH=HEAD
2020-04-24 15:31:48 UTC/bin/sh -c #(nop) LABEL GIT_COMMIT=6340c096ab7f71832625617e069e989918dc6ea2
2020-04-24 15:31:49 UTC/bin/sh -c #(nop) LABEL GIT_CLEAN=False
2020-04-24 15:31:49 UTC/bin/sh -c #(nop) LABEL CEPH_POINT_RELEASE=
2020-04-24 15:33:19 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-04-24 15:33:20 UTC/bin/sh -c #(nop) ADD file:3da0f4f6bbde77ee8713c77fb6147badcf45775ce34dad1ef9f5951d173e93b6 in /root/.s3cfg
2020-04-24 15:33:20 UTC/bin/sh -c #(nop) ADD file:9387a4f5c9926b3a16e2da3d1649d09ecaf43ea16839ffee4da82989f7f63bb7 in /etc/confd/templates/
2020-04-24 15:33:21 UTC/bin/sh -c #(nop) ADD file:5433845dc4a405e65161c71a3472cd03ab7bb0b51c6d3c4898c65d2e821eb2ca in /etc/confd/conf.d/
2020-04-24 15:33:28 UTC/bin/sh -c #(nop) ADD multi:e872c856d82ad39da4e36afa401d20ace9a837b1b6ef6a17557f50d4871b9332 in /opt/ceph-container/bin/
2020-04-24 15:33:29 UTC/bin/sh -c #(nop) ADD file:04ebf5d86a50ffd7bb1eb4b2aab09a8cb636809c9cd188ef963170f0701cd364 in /opt/ceph-container/etc/
2020-04-24 15:33:29 UTC/bin/sh -c #(nop) COPY file:836ba40cf1ebb406ae985985773e0b50a4e1343bf65d900393e5cfbaf69bbf95 in /opt/ceph-container/tmp/sree.tar.gz
2020-04-24 15:33:31 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-04-24 15:33:31 UTC/bin/sh -c #(nop) WORKDIR /
2020-04-24 15:33:32 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.