created |
2024-11-13T22:20:18.670041734Z
|
created_by |
/bin/sh -c #(nop) ADD file:44b267854d1b6f2b42b433dc22f8788538601dd6e86fdb1f2e6a8736b9f4c55a in /
|
empty_layer |
true
|
|
created |
2024-11-13T22:20:18.670127792Z
|
created_by |
/bin/sh -c #(nop) LABEL org.label-schema.schema-version="1.0" org.label-schema.name="CentOS Stream 9 Base Image" org.label-schema.vendor="CentOS" org.label-schema.license="GPLv2" org.label-schema.build-date="20241113"
|
empty_layer |
true
|
|
created |
2024-11-13T22:20:20.214597606Z
|
created_by |
/bin/sh -c #(nop) CMD ["/bin/bash"]
|
|
comment |
buildkit.dockerfile.v0
|
created |
2024-11-18T21:53:10.077383717Z
|
created_by |
ENV I_AM_IN_A_CONTAINER=1
|
empty_layer |
true
|
|
comment |
buildkit.dockerfile.v0
|
created |
2024-11-18T21:53:10.077383717Z
|
created_by |
LABEL maintainer=Guillaume Abrioux <gabrioux@redhat.com>
|
empty_layer |
true
|
|
comment |
buildkit.dockerfile.v0
|
created |
2024-11-18T21:53:10.077383717Z
|
created_by |
LABEL ceph=True
|
empty_layer |
true
|
|
comment |
buildkit.dockerfile.v0
|
created |
2024-11-18T21:53:10.077383717Z
|
created_by |
LABEL RELEASE=HEAD
|
empty_layer |
true
|
|
comment |
buildkit.dockerfile.v0
|
created |
2024-11-18T21:53:10.077383717Z
|
created_by |
LABEL GIT_REPO=https://github.com/ceph/ceph-container.git
|
empty_layer |
true
|
|
comment |
buildkit.dockerfile.v0
|
created |
2024-11-18T21:53:10.077383717Z
|
created_by |
LABEL GIT_BRANCH=HEAD
|
empty_layer |
true
|
|
comment |
buildkit.dockerfile.v0
|
created |
2024-11-18T21:53:10.077383717Z
|
created_by |
LABEL GIT_COMMIT=ffa99709212d0dca3e09dd3d085a0b5a1bba2df0
|
empty_layer |
true
|
|
comment |
buildkit.dockerfile.v0
|
created |
2024-11-18T21:53:10.077383717Z
|
created_by |
LABEL GIT_CLEAN=True
|
empty_layer |
true
|
|
comment |
buildkit.dockerfile.v0
|
created |
2024-11-18T21:53:10.077383717Z
|
created_by |
LABEL CEPH_POINT_RELEASE=-17.2.8
|
empty_layer |
true
|
|
comment |
buildkit.dockerfile.v0
|
created |
2024-11-18T21:53:10.077383717Z
|
created_by |
ENV CEPH_VERSION=quincy
|
empty_layer |
true
|
|
comment |
buildkit.dockerfile.v0
|
created |
2024-11-18T21:53:10.077383717Z
|
created_by |
ENV CEPH_POINT_RELEASE=-17.2.8
|
empty_layer |
true
|
|
comment |
buildkit.dockerfile.v0
|
created |
2024-11-18T21:53:10.077383717Z
|
created_by |
ENV CEPH_DEVEL=false
|
empty_layer |
true
|
|
comment |
buildkit.dockerfile.v0
|
created |
2024-11-18T21:53:10.077383717Z
|
created_by |
ENV CEPH_REF=quincy
|
empty_layer |
true
|
|
comment |
buildkit.dockerfile.v0
|
created |
2024-11-18T21:53:10.077383717Z
|
created_by |
ENV OSD_FLAVOR=default
|
empty_layer |
true
|
|
comment |
buildkit.dockerfile.v0
|
created |
2024-11-18T21:53:10.077383717Z
|
created_by |
EXPOSE map[5000/tcp:{} 6789/tcp:{} 6800/tcp:{} 6801/tcp:{} 6802/tcp:{} 6803/tcp:{} 6804/tcp:{} 6805/tcp:{} 80/tcp:{}]
|
empty_layer |
true
|
|
comment |
buildkit.dockerfile.v0
|
created |
2024-11-18T21:53:10.077383717Z
|
created_by |
RUN /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 sssd-client dbus-daemon rpcbind" ]; then if [[ "${CEPH_VERSION}" =~ master|main|quincy|reef|squid ]]; then echo "[ganesha]" > /etc/yum.repos.d/ganesha.repo ; echo "name=ganesha" >> /etc/yum.repos.d/ganesha.repo ; echo "baseurl=https://buildlogs.centos.org/centos/\$releasever-stream/storage/\$basearch/nfsganesha-5/" >> /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 "[ganesha]" > /etc/yum.repos.d/ganesha.repo ; echo "name=ganesha" >> /etc/yum.repos.d/ganesha.repo ; 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 "[ganesha]" > /etc/yum.repos.d/ganesha.repo ; echo "name=ganesha" >> /etc/yum.repos.d/ganesha.repo ; 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 "[ganesha]" > /etc/yum.repos.d/ganesha.repo ; echo "name=ganesha" >> /etc/yum.repos.d/ganesha.repo ; 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 "[ganesha]" > /etc/yum.repos.d/ganesha.repo ; echo "name=ganesha" >> /etc/yum.repos.d/ganesha.repo ; 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/main/latest/centos/9/repo?arch=$(arch) -o /etc/yum.repos.d/tcmu-runner.repo ; if [[ "${CEPH_VERSION}" =~ master || "${CEPH_VERSION}" == main ]]; then curl -s -L https://shaman.ceph.com/api/repos/ceph-iscsi/main/latest/centos/9/repo -o /etc/yum.repos.d/ceph-iscsi.repo ; elif [[ "${CEPH_VERSION}" =~ nautilus|octopus|pacific|quincy|reef|squid ]]; then curl -s -L https://download.ceph.com/ceph-iscsi/3/rpm/el9/ceph-iscsi.repo -o /etc/yum.repos.d/ceph-iscsi.repo ; else curl -s -L https://download.ceph.com/ceph-iscsi/2/rpm/el9/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-17.2.8"; if [[ -n "-17.2.8" ]]; then CPR=-17.2.8 ; 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_VERSION}" == main ]] || ${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/9/${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-17.2.8"; fi ; else RELEASE_VER=1 ; if [[ false = true ]] ; then REPO_URL="https://:@download.ceph.com/prerelease/ceph/rpm-${CEPH_VERSION}/el9/"; else REPO_URL="http://download.ceph.com/rpm-${CEPH_VERSION}/el9/"; fi fi && rpm -Uvh "$REPO_URL/noarch/ceph-release-1-${RELEASE_VER}.el9.noarch.rpm" && if [[ false = true ]] ; then sed -i "s;http://download.ceph.com/;https://:@download.ceph.com/prerelease/ceph/;" /etc/yum.repos.d/ceph.repo ; dnf clean expire-cache ; fi && if [[ 9 -eq 8 ]]; then yum install -y dnf-plugins-core ; yum copr enable -y tchaikov/python-scikit-learn ; yum copr enable -y tchaikov/python3-asyncssh ; yum copr enable -y ceph/grpc ; TOOLS_REPO=powertools ; yum install -y --setopt=install_weak_deps=False --enablerepo=powertools ca-certificates e2fsprogs ceph-common-17.2.8 ceph-mon-17.2.8 ceph-osd-17.2.8 ceph-mds-17.2.8 cephfs-mirror-17.2.8 cephfs-top-17.2.8 rbd-mirror-17.2.8 ceph-mgr-17.2.8 ceph-mgr-cephadm-17.2.8 ceph-mgr-dashboard-17.2.8 ceph-mgr-diskprediction-local-17.2.8 ceph-mgr-k8sevents-17.2.8 ceph-mgr-rook-17.2.8 python3-saml ceph-grafana-dashboards-17.2.8 kmod lvm2 gdisk smartmontools nvme-cli libstoragemgmt systemd-udev sg3_utils procps-ng hostname ceph-radosgw-17.2.8 libradosstriper1-17.2.8 gcc lua-devel luarocks nfs-ganesha nfs-ganesha-ceph nfs-ganesha-rgw nfs-ganesha-rados-grace nfs-ganesha-rados-urls sssd-client dbus-daemon rpcbind tcmu-runner ceph-iscsi python3-rtslib attr ceph-fuse-17.2.8 rbd-nbd-17.2.8 ${CRIMSON_PACKAGES} ceph-immutable-object-cache-17.2.8 ceph-volume-17.2.8 ceph-exporter-17.2.8 ; else yum install -y --setopt=install_weak_deps=False --enablerepo=crb ca-certificates e2fsprogs ceph-common-17.2.8 ceph-mon-17.2.8 ceph-osd-17.2.8 ceph-mds-17.2.8 cephfs-mirror-17.2.8 cephfs-top-17.2.8 rbd-mirror-17.2.8 ceph-mgr-17.2.8 ceph-mgr-cephadm-17.2.8 ceph-mgr-dashboard-17.2.8 ceph-mgr-diskprediction-local-17.2.8 ceph-mgr-k8sevents-17.2.8 ceph-mgr-rook-17.2.8 python3-saml ceph-grafana-dashboards-17.2.8 kmod lvm2 gdisk smartmontools nvme-cli libstoragemgmt systemd-udev sg3_utils procps-ng hostname ceph-radosgw-17.2.8 libradosstriper1-17.2.8 gcc lua-devel luarocks nfs-ganesha nfs-ganesha-ceph nfs-ganesha-rgw nfs-ganesha-rados-grace nfs-ganesha-rados-urls sssd-client dbus-daemon rpcbind tcmu-runner ceph-iscsi python3-rtslib attr ceph-fuse-17.2.8 rbd-nbd-17.2.8 ${CRIMSON_PACKAGES} ceph-immutable-object-cache-17.2.8 ceph-volume-17.2.8 ceph-exporter-17.2.8 ; fi' && 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-17.2.8 ceph-mon-17.2.8 ceph-osd-17.2.8 ceph-mds-17.2.8 cephfs-mirror-17.2.8 cephfs-top-17.2.8 rbd-mirror-17.2.8 ceph-mgr-17.2.8 ceph-mgr-cephadm-17.2.8 ceph-mgr-dashboard-17.2.8 ceph-mgr-diskprediction-local-17.2.8 ceph-mgr-k8sevents-17.2.8 ceph-mgr-rook-17.2.8 python3-saml ceph-grafana-dashboards-17.2.8 kmod lvm2 gdisk smartmontools nvme-cli libstoragemgmt systemd-udev sg3_utils procps-ng hostname ceph-radosgw-17.2.8 libradosstriper1-17.2.8 gcc lua-devel luarocks nfs-ganesha nfs-ganesha-ceph nfs-ganesha-rgw nfs-ganesha-rados-grace nfs-ganesha-rados-urls sssd-client dbus-daemon rpcbind tcmu-runner ceph-iscsi python3-rtslib attr ceph-fuse-17.2.8 rbd-nbd-17.2.8 ${CRIMSON_PACKAGES} ceph-immutable-object-cache-17.2.8 ceph-volume-17.2.8 ceph-exporter-17.2.8 ) && echo "About to edit lvm.conf" && sed -i -e 's/^\([[:space:]#]*udev_rules =\) 1$/\1 0/' -e 's/^\([[:space:]#]*udev_sync =\) 1$/\1 0/' -e 's/^\([[:space:]#]*obtain_device_list_from_udev =\) 1$/\1 0/' /etc/lvm/lvm.conf && echo "About to validate lvm.conf edits" && 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 && echo "Edits validated OK" && mkdir -p /var/run/ganesha && 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 && 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-17.2.8 ceph-mon-17.2.8 ceph-osd-17.2.8 ceph-mds-17.2.8 cephfs-mirror-17.2.8 cephfs-top-17.2.8 rbd-mirror-17.2.8 ceph-mgr-17.2.8 ceph-mgr-cephadm-17.2.8 ceph-mgr-dashboard-17.2.8 ceph-mgr-diskprediction-local-17.2.8 ceph-mgr-k8sevents-17.2.8 ceph-mgr-rook-17.2.8 python3-saml ceph-grafana-dashboards-17.2.8 kmod lvm2 gdisk smartmontools nvme-cli libstoragemgmt systemd-udev sg3_utils procps-ng hostname ceph-radosgw-17.2.8 libradosstriper1-17.2.8 gcc lua-devel luarocks nfs-ganesha nfs-ganesha-ceph nfs-ganesha-rgw nfs-ganesha-rados-grace nfs-ganesha-rados-urls sssd-client dbus-daemon rpcbind tcmu-runner ceph-iscsi python3-rtslib attr ceph-fuse-17.2.8 rbd-nbd-17.2.8 ${CRIMSON_PACKAGES} ceph-immutable-object-cache-17.2.8 ceph-volume-17.2.8 ceph-exporter-17.2.8 && echo 'Packages verified successfully' # buildkit
|
|