镜像构建历史
# 2020-05-06 23:32:50 367.94MB
/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}" == 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 "tcmu-runner ceph-iscsi-config ceph-iscsi-cli 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|^wip* ]]; 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 ]]; 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-12.2.12"; if [[ -n "-12.2.12" ]]; then CPR=-12.2.12 ; 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 [[ 7 -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/7&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}/el7/"; fi && rpm -Uvh "$REPO_URL/noarch/ceph-release-1-${RELEASE_VER}.el7.noarch.rpm" ' && yum install -y ca-certificates e2fsprogs ceph-common-12.2.12 ceph-mon-12.2.12 ceph-osd-12.2.12 ceph-mds-12.2.12 rbd-mirror-12.2.12 ceph-mgr-12.2.12 kmod lvm2 gdisk ceph-radosgw-12.2.12 libradosstriper1-12.2.12 nfs-ganesha nfs-ganesha-ceph nfs-ganesha-rgw nfs-ganesha-rados-grace tcmu-runner ceph-iscsi-config ceph-iscsi-cli python-rtslib attr ceph-fuse-12.2.12 rbd-nbd-12.2.12 && 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-12.2.12 ceph-mon-12.2.12 ceph-osd-12.2.12 ceph-mds-12.2.12 rbd-mirror-12.2.12 ceph-mgr-12.2.12 kmod lvm2 gdisk ceph-radosgw-12.2.12 libradosstriper1-12.2.12 nfs-ganesha nfs-ganesha-ceph nfs-ganesha-rgw nfs-ganesha-rados-grace tcmu-runner ceph-iscsi-config ceph-iscsi-cli python-rtslib attr ceph-fuse-12.2.12 rbd-nbd-12.2.12 && 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-12.2.12 ceph-mon-12.2.12 ceph-osd-12.2.12 ceph-mds-12.2.12 rbd-mirror-12.2.12 ceph-mgr-12.2.12 kmod lvm2 gdisk ceph-radosgw-12.2.12 libradosstriper1-12.2.12 nfs-ganesha nfs-ganesha-ceph nfs-ganesha-rgw nfs-ganesha-rados-grace tcmu-runner ceph-iscsi-config ceph-iscsi-cli python-rtslib attr ceph-fuse-12.2.12 rbd-nbd-12.2.12 && echo 'Packages verified successfully'
# 2020-05-06 23:31:13 0.00B
/bin/sh -c #(nop) ENV CEPH_DEVEL=false
# 2020-05-06 23:31:12 0.00B
/bin/sh -c #(nop) ENV CEPH_POINT_RELEASE=-12.2.12
# 2020-05-06 23:31:12 0.00B
/bin/sh -c #(nop) ENV CEPH_VERSION=luminous
# 2020-05-06 23:31:12 0.00B
/bin/sh -c #(nop) LABEL CEPH_POINT_RELEASE=-12.2.12
# 2020-05-06 22:47:36 0.00B
/bin/sh -c #(nop) LABEL GIT_CLEAN=True
# 2020-05-06 22:47:35 0.00B
/bin/sh -c #(nop) LABEL GIT_COMMIT=94cc2a67610c9f337d44da6ddef470c1fae24bca
# 2020-05-06 22:47:35 0.00B
/bin/sh -c #(nop) LABEL GIT_BRANCH=HEAD
# 2020-05-06 22:47:35 0.00B
/bin/sh -c #(nop) LABEL GIT_REPO=https://github.com/ceph/ceph-container.git
# 2020-05-06 22:47:35 0.00B
/bin/sh -c #(nop) LABEL RELEASE=HEAD
# 2020-05-06 22:47:35 0.00B
/bin/sh -c #(nop) LABEL ceph=True
# 2020-05-06 22:47:35 0.00B
/bin/sh -c #(nop) LABEL maintainer=Dimitri Savineau <dsavinea@redhat.com>
# 2020-05-06 05:20:07 0.00B
/bin/sh -c #(nop) CMD ["/bin/bash"]
# 2020-05-06 05:20:06 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=20200504 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-05-04 00:00:00+01:00
# 2020-05-06 05:20:06 203.34MB
/bin/sh -c #(nop) ADD file:38e2d2a1a0cd8694bd5086f257fdf7504f0c2481bf4f746c9bd1c8d9f3f6430d in /
镜像信息
{
"Id": "sha256:60a42e143f771c18aa82416711c3dbbcf55b41abb3e453f0daf6448a19b5553d",
"RepoTags": [
"ceph/ceph:v12.2",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/ceph/ceph:v12.2"
],
"RepoDigests": [
"ceph/ceph@sha256:f24393db5402bf30254c0ef02ada0d35ae4701372beee9ef7ef409e21488e0dd",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/ceph/ceph@sha256:770e8136ad2b483cb3a0ab8de09795a67cf70c0f494b0f63eea0f369e30f1755"
],
"Parent": "",
"Comment": "",
"Created": "2020-05-06T15:32:50.971486596Z",
"Container": "",
"ContainerConfig": null,
"DockerVersion": "18.09.7",
"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=luminous",
"CEPH_POINT_RELEASE=-12.2.12",
"CEPH_DEVEL=false"
],
"Cmd": [
"/bin/bash"
],
"ArgsEscaped": true,
"Image": "sha256:72ec1ad4dba063d30dcf90d6a721378af190520e4799f40debe326a2950a9e7a",
"Volumes": null,
"WorkingDir": "",
"Entrypoint": null,
"OnBuild": null,
"Labels": {
"CEPH_POINT_RELEASE": "-12.2.12",
"GIT_BRANCH": "HEAD",
"GIT_CLEAN": "True",
"GIT_COMMIT": "94cc2a67610c9f337d44da6ddef470c1fae24bca",
"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": "20200504",
"org.label-schema.license": "GPLv2",
"org.label-schema.name": "CentOS Base Image",
"org.label-schema.schema-version": "1.0",
"org.label-schema.vendor": "CentOS",
"org.opencontainers.image.created": "2020-05-04 00:00:00+01:00",
"org.opencontainers.image.licenses": "GPL-2.0-only",
"org.opencontainers.image.title": "CentOS Base Image",
"org.opencontainers.image.vendor": "CentOS"
}
},
"Architecture": "amd64",
"Os": "linux",
"Size": 571280353,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/784a4c778499355e631b0e81e4e55457aa59a439ba5ea600d8da27bf500d055f/diff",
"MergedDir": "/var/lib/docker/overlay2/ec34163c3657775a278445ca6a19c6a4f9824f9c40658739f8ad1751f9736d71/merged",
"UpperDir": "/var/lib/docker/overlay2/ec34163c3657775a278445ca6a19c6a4f9824f9c40658739f8ad1751f9736d71/diff",
"WorkDir": "/var/lib/docker/overlay2/ec34163c3657775a278445ca6a19c6a4f9824f9c40658739f8ad1751f9736d71/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:edf3aa290fb3c255a84fe836109093fbfeef65c08544f655fad8d6afb53868ba",
"sha256:856cc0e2ce261f007971e69a62fd921607b011891a76b448d67cffc20674f6e2"
]
},
"Metadata": {
"LastTagTime": "2026-02-09T10:50:42.303836986+08:00"
}
}