镜像构建历史
# 2021-05-27 06:56:51 815.68MB
/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 nfs-ganesha-rados-urls" ]; 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 ; echo "gpgcheck=0" >> /etc/yum.repos.d/ganesha.repo ; echo "enabled=1" >> /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=1" >> /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 ; echo "gpgcheck=1" >> /etc/yum.repos.d/ganesha.repo ; echo "enabled=1" >> /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=1" >> /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 ; echo "gpgcheck=1" >> /etc/yum.repos.d/ganesha.repo ; echo "enabled=1" >> /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 ; echo "gpgcheck=1" >> /etc/yum.repos.d/ganesha.repo ; echo "enabled=1" >> /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 ; echo "gpgcheck=1" >> /etc/yum.repos.d/ganesha.repo ; echo "enabled=1" >> /etc/yum.repos.d/ganesha.repo ; fi ; 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?arch=$(arch) -o /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 -o /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 --setopt=install_weak_deps=False && rpm --import 'https://download.ceph.com/keys/release.asc' && if [[ "${CEPH_VERSION}" == nautilus ]]; then CEPH_MGR_K8SEVENTS="ceph-mgr-k8sevents-15.2.13"; if [[ -n "-15.2.13" ]]; then CPR=-15.2.13 ; 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 ]] || ${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-15.2.13"; 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 --setopt=install_weak_deps=False ca-certificates e2fsprogs ceph-common-15.2.13 ceph-mon-15.2.13 ceph-osd-15.2.13 ceph-mds-15.2.13 rbd-mirror-15.2.13 ceph-mgr-15.2.13 ceph-mgr-cephadm-15.2.13 ceph-mgr-dashboard-15.2.13 ceph-mgr-diskprediction-local-15.2.13 ceph-mgr-k8sevents-15.2.13 ceph-mgr-rook-15.2.13 python3-saml ceph-grafana-dashboards-15.2.13 kmod lvm2 gdisk smartmontools nvme-cli libstoragemgmt ceph-radosgw-15.2.13 libradosstriper1-15.2.13 nfs-ganesha nfs-ganesha-ceph nfs-ganesha-rgw nfs-ganesha-rados-grace nfs-ganesha-rados-urls tcmu-runner ceph-iscsi python3-rtslib attr ceph-fuse-15.2.13 rbd-nbd-15.2.13 ${CRIMSON_PACKAGES} 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-15.2.13 ceph-mon-15.2.13 ceph-osd-15.2.13 ceph-mds-15.2.13 rbd-mirror-15.2.13 ceph-mgr-15.2.13 ceph-mgr-cephadm-15.2.13 ceph-mgr-dashboard-15.2.13 ceph-mgr-diskprediction-local-15.2.13 ceph-mgr-k8sevents-15.2.13 ceph-mgr-rook-15.2.13 python3-saml ceph-grafana-dashboards-15.2.13 kmod lvm2 gdisk smartmontools nvme-cli libstoragemgmt ceph-radosgw-15.2.13 libradosstriper1-15.2.13 nfs-ganesha nfs-ganesha-ceph nfs-ganesha-rgw nfs-ganesha-rados-grace nfs-ganesha-rados-urls tcmu-runner ceph-iscsi python3-rtslib attr ceph-fuse-15.2.13 rbd-nbd-15.2.13 ${CRIMSON_PACKAGES} 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-15.2.13 ceph-mon-15.2.13 ceph-osd-15.2.13 ceph-mds-15.2.13 rbd-mirror-15.2.13 ceph-mgr-15.2.13 ceph-mgr-cephadm-15.2.13 ceph-mgr-dashboard-15.2.13 ceph-mgr-diskprediction-local-15.2.13 ceph-mgr-k8sevents-15.2.13 ceph-mgr-rook-15.2.13 python3-saml ceph-grafana-dashboards-15.2.13 kmod lvm2 gdisk smartmontools nvme-cli libstoragemgmt ceph-radosgw-15.2.13 libradosstriper1-15.2.13 nfs-ganesha nfs-ganesha-ceph nfs-ganesha-rgw nfs-ganesha-rados-grace nfs-ganesha-rados-urls tcmu-runner ceph-iscsi python3-rtslib attr ceph-fuse-15.2.13 rbd-nbd-15.2.13 ${CRIMSON_PACKAGES} python3-scikit-learn && echo 'Packages verified successfully'
# 2021-05-27 06:53:20 0.00B
/bin/sh -c #(nop) ENV OSD_FLAVOR=default
# 2021-05-27 06:53:19 0.00B
/bin/sh -c #(nop) ENV CEPH_REF=octopus
# 2021-05-27 06:53:18 0.00B
/bin/sh -c #(nop) ENV CEPH_DEVEL=false
# 2021-05-27 06:53:17 0.00B
/bin/sh -c #(nop) ENV CEPH_POINT_RELEASE=-15.2.13
# 2021-05-27 06:53:15 0.00B
/bin/sh -c #(nop) ENV CEPH_VERSION=octopus
# 2021-05-27 06:53:14 0.00B
/bin/sh -c #(nop) LABEL CEPH_POINT_RELEASE=-15.2.13
# 2021-05-27 06:53:12 0.00B
/bin/sh -c #(nop) LABEL GIT_CLEAN=True
# 2021-05-27 06:53:11 0.00B
/bin/sh -c #(nop) LABEL GIT_COMMIT=4138a4f2ff814bda0c1839a71ec858821ec9b809
# 2021-05-27 06:53:09 0.00B
/bin/sh -c #(nop) LABEL GIT_BRANCH=HEAD
# 2021-05-27 06:53:08 0.00B
/bin/sh -c #(nop) LABEL GIT_REPO=https://github.com/ceph/ceph-container.git
# 2021-05-27 06:53:07 0.00B
/bin/sh -c #(nop) LABEL RELEASE=HEAD
# 2021-05-27 06:53:05 0.00B
/bin/sh -c #(nop) LABEL ceph=True
# 2021-05-27 06:53:04 0.00B
/bin/sh -c #(nop) LABEL maintainer=Dimitri Savineau <dsavinea@redhat.com>
# 2020-12-08 08:22:53 0.00B
/bin/sh -c #(nop) CMD ["/bin/bash"]
# 2020-12-08 08:22:52 0.00B
/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-08 08:22:52 209.35MB
/bin/sh -c #(nop) ADD file:bd7a2aed6ede423b719ceb2f723e4ecdfa662b28639c8429731c878e86fb138b in /
镜像信息
{
"Id": "sha256:2cf504fded3980c76b59a354fca8f301941f86e369215a08752874d1ddb69b73",
"RepoTags": [
"ceph/ceph:v15.2.13-20210526",
"quay.io/ceph/ceph:v15.2.13-20210526",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/ceph/ceph:v15.2.13-20210526",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/quay.io/ceph/ceph:v15.2.13-20210526"
],
"RepoDigests": [
"ceph/ceph@sha256:056637972a107df4096f10951e4216b21fcd8ae0b9fb4552e628d35df3f61139",
"quay.io/ceph/ceph@sha256:056637972a107df4096f10951e4216b21fcd8ae0b9fb4552e628d35df3f61139",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/ceph/ceph@sha256:0368cf225b3a13b7bdeb3d81ecf370a62931ffa5ff87af880d66aebae74f910a",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/quay.io/ceph/ceph@sha256:0368cf225b3a13b7bdeb3d81ecf370a62931ffa5ff87af880d66aebae74f910a"
],
"Parent": "",
"Comment": "",
"Created": "2021-05-26T22:56:51.841027653Z",
"Container": "",
"ContainerConfig": null,
"DockerVersion": "20.10.2",
"Author": "",
"Config": {
"Hostname": "",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"CEPH_VERSION=octopus",
"CEPH_POINT_RELEASE=-15.2.13",
"CEPH_DEVEL=false",
"CEPH_REF=octopus",
"OSD_FLAVOR=default"
],
"Cmd": [
"/bin/bash"
],
"Image": "sha256:3fdb8a8d7e63f4c074debe2a9f4616885b114d81a7f083c7d8548b3d0631f75b",
"Volumes": null,
"WorkingDir": "",
"Entrypoint": null,
"OnBuild": null,
"Labels": {
"CEPH_POINT_RELEASE": "-15.2.13",
"GIT_BRANCH": "HEAD",
"GIT_CLEAN": "True",
"GIT_COMMIT": "4138a4f2ff814bda0c1839a71ec858821ec9b809",
"GIT_REPO": "https://github.com/ceph/ceph-container.git",
"RELEASE": "HEAD",
"ceph": "True",
"maintainer": "Dimitri Savineau \u003cdsavinea@redhat.com\u003e",
"org.label-schema.build-date": "20201204",
"org.label-schema.license": "GPLv2",
"org.label-schema.name": "CentOS Base Image",
"org.label-schema.schema-version": "1.0",
"org.label-schema.vendor": "CentOS"
}
},
"Architecture": "amd64",
"Os": "linux",
"Size": 1025032721,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/5ac96830215506c591db6b764d4caa136df707a7966f2bb4ed651488b2261196/diff",
"MergedDir": "/var/lib/docker/overlay2/d8ba97b3b460a47863eeb9aeb386fbcea057df457ba8dd165da49213ecdf7b59/merged",
"UpperDir": "/var/lib/docker/overlay2/d8ba97b3b460a47863eeb9aeb386fbcea057df457ba8dd165da49213ecdf7b59/diff",
"WorkDir": "/var/lib/docker/overlay2/d8ba97b3b460a47863eeb9aeb386fbcea057df457ba8dd165da49213ecdf7b59/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:2653d992f4ef2bfd27f94db643815aa567240c37732cae1405ad1c1309ee9859",
"sha256:a6405c998c39d5715f99ba6ab1e1911ecb72f72e854ade27f4f55348d89a9abc"
]
},
"Metadata": {
"LastTagTime": "2024-09-19T21:08:02.807387802+08:00"
}
}