2020-01-21 16:55:58 UTC
380 MB
false
CEPH_POINT_RELEASE CEPH_VERSIONmaster
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:8a29a15cefaeccf6545f7ecf11298f9672d2f0cdaf9e357a95133ac3ad3e1f07 - 18.37% (69.8 MB)
[#001] sha256:9fcce489b2cdada5dec6bccbc110cc94a63c090a3db559d4408caf38d1a1a7ce - 72.85% (277 MB)
[#002] sha256:19880c54f501fe17394adead2606a546738401b2a8a7737fcf15e2acb9060d20 - 8.64% (32.8 MB)
[#003] sha256:9c495335bb969f9b20d37f2bf189b436658256c5e4b233a93d807f2adcb5876e - 0.0% (770 Bytes)
[#004] sha256:50e0c50d102ed91c50006ff5da50ce8a924c92f1a4ed9b62250aaee41ce9d532 - 0.0% (428 Bytes)
[#005] sha256:bbd3b26e19cb87d1d1605d5b99ee0eedb36ee0c2e47ffdde51046816d67d0742 - 0.0% (296 Bytes)
[#006] sha256:6598c4426366465a47a9a8c591af5010992f54cece0b97f04f8906a2bebd03d3 - 0.01% (31.9 KB)
[#007] sha256:b0e06441fd7f66c76f144a10f0347ac0e6d170957bb9bcba599ae4b2ee64f95b - 0.0% (418 Bytes)
[#008] sha256:13754fb18e31745c5e694c2421a44df7902414f412c34e9db11fa9106b32d5f8 - 0.12% (483 KB)
[#009] sha256:54b233ecbcb90e6b30b331cebe53131ff62c0074afcef97b7e5dd814190e6602 - 0.0% (1.45 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-01-21 16:51:12 UTC/bin/sh -c #(nop) LABEL maintainer=Dimitri Savineau <dsavinea@redhat.com>
2020-01-21 16:51:12 UTC/bin/sh -c #(nop) LABEL RELEASE=master-dfaf273
2020-01-21 16:51:12 UTC/bin/sh -c #(nop) LABEL GIT_REPO=https://github.com/ceph/ceph-container.git
2020-01-21 16:51:13 UTC/bin/sh -c #(nop) LABEL GIT_BRANCH=HEAD
2020-01-21 16:51:13 UTC/bin/sh -c #(nop) LABEL GIT_COMMIT=dfaf2733304900172d51a3e32019f58f8d9c9acc
2020-01-21 16:51:13 UTC/bin/sh -c #(nop) LABEL GIT_CLEAN=False
2020-01-21 16:51:13 UTC/bin/sh -c #(nop) LABEL CEPH_POINT_RELEASE=
2020-01-21 16:51:13 UTC/bin/sh -c #(nop) ENV CEPH_VERSION=master
2020-01-21 16:51:14 UTC/bin/sh -c #(nop) ENV CEPH_POINT_RELEASE=
2020-01-21 16:51:14 UTC/bin/sh -c #(nop) ENV CEPH_DEVEL=false
2020-01-21 16:55:00 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|^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}" == 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|^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 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 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 tcmu-runner ceph-iscsi python3-rtslib attr ceph-fuse rbd-nbd && echo 'Packages verified successfully'
2020-01-21 16:55:01 UTC/bin/sh -c #(nop) LABEL maintainer=Dimitri Savineau <dsavinea@redhat.com>
2020-01-21 16:55:01 UTC/bin/sh -c #(nop) LABEL RELEASE=master-dfaf273
2020-01-21 16:55:01 UTC/bin/sh -c #(nop) LABEL GIT_REPO=https://github.com/ceph/ceph-container.git
2020-01-21 16:55:01 UTC/bin/sh -c #(nop) LABEL GIT_BRANCH=HEAD
2020-01-21 16:55:01 UTC/bin/sh -c #(nop) LABEL GIT_COMMIT=dfaf2733304900172d51a3e32019f58f8d9c9acc
2020-01-21 16:55:02 UTC/bin/sh -c #(nop) LABEL GIT_CLEAN=False
2020-01-21 16:55:02 UTC/bin/sh -c #(nop) LABEL CEPH_POINT_RELEASE=
2020-01-21 16:55:52 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-01-21 16:55:52 UTC/bin/sh -c #(nop) ADD file:3da0f4f6bbde77ee8713c77fb6147badcf45775ce34dad1ef9f5951d173e93b6 in /root/.s3cfg
2020-01-21 16:55:52 UTC/bin/sh -c #(nop) ADD file:9387a4f5c9926b3a16e2da3d1649d09ecaf43ea16839ffee4da82989f7f63bb7 in /etc/confd/templates/
2020-01-21 16:55:52 UTC/bin/sh -c #(nop) ADD file:5433845dc4a405e65161c71a3472cd03ab7bb0b51c6d3c4898c65d2e821eb2ca in /etc/confd/conf.d/
2020-01-21 16:55:56 UTC/bin/sh -c #(nop) ADD multi:90b7a63c3dbddff948586657dae6d92fa09c84ffbd03e1e821427a374dd9d8c8 in /opt/ceph-container/bin/
2020-01-21 16:55:56 UTC/bin/sh -c #(nop) ADD file:04ebf5d86a50ffd7bb1eb4b2aab09a8cb636809c9cd188ef963170f0701cd364 in /opt/ceph-container/etc/
2020-01-21 16:55:56 UTC/bin/sh -c #(nop) COPY file:5ce0d26ded560bf2f617e62d552a12f831e04f2231edeff943687273a5ea2fe0 in /opt/ceph-container/tmp/sree.tar.gz
2020-01-21 16:55:57 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-01-21 16:55:57 UTC/bin/sh -c #(nop) WORKDIR /
2020-01-21 16:55:58 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.