2024-12-20 17:33:08 UTC
450 MB
false
CEPH_POINT_RELEASE-18.2.4
CEPH_REFreef
CEPH_VERSIONreef
I_AM_IN_A_CONTAINER1
OSD_FLAVORdefault
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:c4df4d1fcd03443974cb85d895c542fd0bfa41e5612bd01bf1b551bc3fed63d8 - 11.95% (53.8 MB)
[#001] sha256:676ca14fffd6a484ae6e078a4b9aa6f1944aef554e8f93f2ed2d1eab721e0b9f - 80.4% (362 MB)
[#002] sha256:f6db2f17392c2b8a0f2de338d4f752f9cd4291d5b454de3cc7476b44603ae9cb - 2.12% (9.55 MB)
[#003] sha256:91b6f2477d31576af3218eeb369af4b40a42fad352ba95994858be119425c255 - 1.07% (4.8 MB)
[#004] sha256:745753aa199a5955b75d95585a71352d0db703a014b90d9aa5fefa99a13875ad - 4.45% (20 MB)
[#005] sha256:a85b410572292f63d85537bf936481d81d5f0bbd3f2ac564f790eb2991e82696 - 0.01% (25 KB)
[#006] sha256:11ebe364b03bb38fdf9b9d3f3dbb70371e56809af47ca789f418aa15ff861909 - 0.0% (17.6 KB)
[#007] sha256:66dbdec8820f5f5b43836756d703dc7c5654b79b0a9d7464ea20a9dff06a0f30 - 0.0% (2 KB)
/bin/sh -c #(nop) ADD file:398aea34c2cb5c06aa48911162f9e2b0c9f90101764c65d7bdf15382dd5d65c2 in /
2024-07-16 01:10:41 UTC/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="20240716"
2024-07-16 01:10:44 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2024-07-23 22:15:27 UTC/bin/sh -c #(nop) ENV I_AM_IN_A_CONTAINER=1
2024-07-23 22:15:29 UTC/bin/sh -c #(nop) LABEL maintainer=Guillaume Abrioux <gabrioux@redhat.com>
2024-07-23 22:15:30 UTC/bin/sh -c #(nop) LABEL ceph=True
2024-07-23 22:15:31 UTC/bin/sh -c #(nop) LABEL RELEASE=HEAD
2024-07-23 22:15:33 UTC/bin/sh -c #(nop) LABEL GIT_REPO=https://github.com/ceph/ceph-container.git
2024-07-23 22:15:34 UTC/bin/sh -c #(nop) LABEL GIT_BRANCH=HEAD
2024-07-23 22:15:35 UTC/bin/sh -c #(nop) LABEL GIT_COMMIT=c5aaba5e3282b30e4782f2b5d6e4e362e22dfcb7
2024-07-23 22:15:37 UTC/bin/sh -c #(nop) LABEL GIT_CLEAN=True
2024-07-23 22:15:38 UTC/bin/sh -c #(nop) LABEL CEPH_POINT_RELEASE=-18.2.4
2024-07-23 22:15:40 UTC/bin/sh -c #(nop) ENV CEPH_VERSION=reef
2024-07-23 22:15:41 UTC/bin/sh -c #(nop) ENV CEPH_POINT_RELEASE=-18.2.4
2024-07-23 22:15:42 UTC/bin/sh -c #(nop) ENV CEPH_DEVEL=false
2024-07-23 22:15:44 UTC/bin/sh -c #(nop) ENV CEPH_REF=reef
2024-07-23 22:15:45 UTC/bin/sh -c #(nop) ENV OSD_FLAVOR=default
2024-07-23 22:15:46 UTC/bin/sh -c #(nop) EXPOSE 5000 6789 6800 6801 6802 6803 6804 6805 80
2024-07-23 22:19:35 UTC/bin/sh -c yum install -y epel-release && yum install -y jq && bash -c ' if [ -n "nfs-ganesha-5.5-1.el9s nfs-ganesha-ceph-5.5-1.el9s nfs-ganesha-rgw-5.5-1.el9s nfs-ganesha-rados-grace-5.5-1.el9s nfs-ganesha-rados-urls-5.5-1.el9s 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-18.2.4"; if [[ -n "-18.2.4" ]]; then CPR=-18.2.4 ; 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-18.2.4"; 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-18.2.4 ceph-mon-18.2.4 ceph-osd-18.2.4 ceph-mds-18.2.4 cephfs-mirror-18.2.4 cephfs-top-18.2.4 rbd-mirror-18.2.4 ceph-mgr-18.2.4 ceph-mgr-cephadm-18.2.4 ceph-mgr-dashboard-18.2.4 ceph-mgr-diskprediction-local-18.2.4 ceph-mgr-k8sevents-18.2.4 ceph-mgr-rook-18.2.4 python3-saml ceph-grafana-dashboards-18.2.4 kmod lvm2 gdisk smartmontools nvme-cli libstoragemgmt systemd-udev sg3_utils procps-ng hostname ceph-radosgw-18.2.4 libradosstriper1-18.2.4 gcc lua-devel luarocks nfs-ganesha-5.5-1.el9s nfs-ganesha-ceph-5.5-1.el9s nfs-ganesha-rgw-5.5-1.el9s nfs-ganesha-rados-grace-5.5-1.el9s nfs-ganesha-rados-urls-5.5-1.el9s sssd-client dbus-daemon rpcbind tcmu-runner ceph-iscsi python3-rtslib attr ceph-fuse-18.2.4 rbd-nbd-18.2.4 ${CRIMSON_PACKAGES} ceph-immutable-object-cache-18.2.4 ceph-volume-18.2.4 ceph-exporter-18.2.4 ; else yum install -y --setopt=install_weak_deps=False --enablerepo=crb ca-certificates e2fsprogs ceph-common-18.2.4 ceph-mon-18.2.4 ceph-osd-18.2.4 ceph-mds-18.2.4 cephfs-mirror-18.2.4 cephfs-top-18.2.4 rbd-mirror-18.2.4 ceph-mgr-18.2.4 ceph-mgr-cephadm-18.2.4 ceph-mgr-dashboard-18.2.4 ceph-mgr-diskprediction-local-18.2.4 ceph-mgr-k8sevents-18.2.4 ceph-mgr-rook-18.2.4 python3-saml ceph-grafana-dashboards-18.2.4 kmod lvm2 gdisk smartmontools nvme-cli libstoragemgmt systemd-udev sg3_utils procps-ng hostname ceph-radosgw-18.2.4 libradosstriper1-18.2.4 gcc lua-devel luarocks nfs-ganesha-5.5-1.el9s nfs-ganesha-ceph-5.5-1.el9s nfs-ganesha-rgw-5.5-1.el9s nfs-ganesha-rados-grace-5.5-1.el9s nfs-ganesha-rados-urls-5.5-1.el9s sssd-client dbus-daemon rpcbind tcmu-runner ceph-iscsi python3-rtslib attr ceph-fuse-18.2.4 rbd-nbd-18.2.4 ${CRIMSON_PACKAGES} ceph-immutable-object-cache-18.2.4 ceph-volume-18.2.4 ceph-exporter-18.2.4 ; fi' && echo '@ceph - memlock 204800' >> /etc/security/limits.conf && echo '@root - memlock 204800' >> /etc/security/limits.conf && 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-18.2.4 ceph-mon-18.2.4 ceph-osd-18.2.4 ceph-mds-18.2.4 cephfs-mirror-18.2.4 cephfs-top-18.2.4 rbd-mirror-18.2.4 ceph-mgr-18.2.4 ceph-mgr-cephadm-18.2.4 ceph-mgr-dashboard-18.2.4 ceph-mgr-diskprediction-local-18.2.4 ceph-mgr-k8sevents-18.2.4 ceph-mgr-rook-18.2.4 python3-saml ceph-grafana-dashboards-18.2.4 kmod lvm2 gdisk smartmontools nvme-cli libstoragemgmt systemd-udev sg3_utils procps-ng hostname ceph-radosgw-18.2.4 libradosstriper1-18.2.4 gcc lua-devel luarocks nfs-ganesha-5.5-1.el9s nfs-ganesha-ceph-5.5-1.el9s nfs-ganesha-rgw-5.5-1.el9s nfs-ganesha-rados-grace-5.5-1.el9s nfs-ganesha-rados-urls-5.5-1.el9s sssd-client dbus-daemon rpcbind tcmu-runner ceph-iscsi python3-rtslib attr ceph-fuse-18.2.4 rbd-nbd-18.2.4 ${CRIMSON_PACKAGES} ceph-immutable-object-cache-18.2.4 ceph-volume-18.2.4 ceph-exporter-18.2.4 ) && 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-18.2.4 ceph-mon-18.2.4 ceph-osd-18.2.4 ceph-mds-18.2.4 cephfs-mirror-18.2.4 cephfs-top-18.2.4 rbd-mirror-18.2.4 ceph-mgr-18.2.4 ceph-mgr-cephadm-18.2.4 ceph-mgr-dashboard-18.2.4 ceph-mgr-diskprediction-local-18.2.4 ceph-mgr-k8sevents-18.2.4 ceph-mgr-rook-18.2.4 python3-saml ceph-grafana-dashboards-18.2.4 kmod lvm2 gdisk smartmontools nvme-cli libstoragemgmt systemd-udev sg3_utils procps-ng hostname ceph-radosgw-18.2.4 libradosstriper1-18.2.4 gcc lua-devel luarocks nfs-ganesha-5.5-1.el9s nfs-ganesha-ceph-5.5-1.el9s nfs-ganesha-rgw-5.5-1.el9s nfs-ganesha-rados-grace-5.5-1.el9s nfs-ganesha-rados-urls-5.5-1.el9s sssd-client dbus-daemon rpcbind tcmu-runner ceph-iscsi python3-rtslib attr ceph-fuse-18.2.4 rbd-nbd-18.2.4 ${CRIMSON_PACKAGES} ceph-immutable-object-cache-18.2.4 ceph-volume-18.2.4 ceph-exporter-18.2.4 && echo 'Packages verified successfully'
2024-12-20 17:33:07 UTC (buildkit.dockerfile.v0)ARG S5CMD_VERSION
2024-12-20 17:33:07 UTC (buildkit.dockerfile.v0)ARG S5CMD_ARCH
2024-12-20 17:33:07 UTC (buildkit.dockerfile.v0)RUN |2 S5CMD_VERSION=2.3.0 S5CMD_ARCH=Linux-64bit /bin/sh -c dnf install -y --repo baseos --setopt=install_weak_deps=False iproute && dnf clean all # buildkit
2024-12-20 17:33:08 UTC (buildkit.dockerfile.v0)RUN |2 S5CMD_VERSION=2.3.0 S5CMD_ARCH=Linux-64bit /bin/sh -c curl --fail -sSL -o /s5cmd.tar.gz https://github.com/peak/s5cmd/releases/download/v${S5CMD_VERSION}/s5cmd_${S5CMD_VERSION}_${S5CMD_ARCH}.tar.gz && mkdir /s5cmd && tar xf /s5cmd.tar.gz -C /s5cmd && install /s5cmd/s5cmd /usr/local/bin/s5cmd && rm -rf /s5cmd.tar.gz /s5cmd # buildkit
2024-12-20 17:33:08 UTC (buildkit.dockerfile.v0)COPY rook toolbox.sh set-ceph-debug-level /usr/local/bin/ # buildkit
2024-12-20 17:33:08 UTC (buildkit.dockerfile.v0)COPY ceph-monitoring /etc/ceph-monitoring # buildkit
2024-12-20 17:33:08 UTC (buildkit.dockerfile.v0)COPY rook-external /etc/rook-external/ # buildkit
2024-12-20 17:33:08 UTC (buildkit.dockerfile.v0)RUN |2 S5CMD_VERSION=2.3.0 S5CMD_ARCH=Linux-64bit /bin/sh -c useradd rook -u 2016 # 2016 is the UID of the rook user and also the year of the first commit in the project # buildkit
2024-12-20 17:33:08 UTC (buildkit.dockerfile.v0)USER 2016
2024-12-20 17:33:08 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/usr/local/bin/rook"]
2024-12-20 17:33:08 UTC (buildkit.dockerfile.v0)CMD [""]
2024-12-20 17:33:52 UTC
424 MB
false
CEPH_POINT_RELEASE-18.2.4
CEPH_REFreef
CEPH_VERSIONreef
I_AM_IN_A_CONTAINER1
OSD_FLAVORdefault
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:11bd66ce56d07b4d77b9f9b6d57a4473483c7e7ae4eb6d2065955e7a6029699e - 12.31% (52.2 MB)
[#001] sha256:d13534af4bf5e440e610a62e7759d278ff237254adb7d52ac5c669495fa3baeb - 80.06% (340 MB)
[#002] sha256:cb70fd26a40a604ddf4c52b0b63b3c0a0ec0c75209a92cfc6d72f7e958b70115 - 2.19% (9.27 MB)
[#003] sha256:6e81e6356dc2564fb3947f729cb6a5932333394c405ae3b4f7c3522132ccf27b - 1.13% (4.8 MB)
[#004] sha256:91afb8b963504e29b577308cd5d447e59083fdc2fc430357b60b63f279ac35f9 - 4.31% (18.3 MB)
[#005] sha256:84fd4f4f6913f0bddab88899b17636f3758a88cc90666d11a066387d48f6a7c8 - 0.01% (25 KB)
[#006] sha256:a2646435e6b033581e246476a43d7ca2df4f84384264b84ab98e9e0bb3557b03 - 0.0% (17.6 KB)
[#007] sha256:d89bb77e55cebe2b8248c35504778ebf29ed9833cb8de0af1e2bf42c982334a8 - 0.0% (1.99 KB)
/bin/sh -c #(nop) ADD file:6063a3c48ddec21d15a9ca505d5e34516aee0b6f8493a79b5f02d04400db546d in /
2024-07-16 01:09:46 UTC/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="20240716"
2024-07-16 01:09:48 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2024-07-24 00:38:41 UTC/bin/sh -c #(nop) ENV I_AM_IN_A_CONTAINER=1
2024-07-24 00:38:41 UTC/bin/sh -c #(nop) LABEL maintainer=Guillaume Abrioux <gabrioux@redhat.com>
2024-07-24 00:38:41 UTC/bin/sh -c #(nop) LABEL ceph=True
2024-07-24 00:38:42 UTC/bin/sh -c #(nop) LABEL RELEASE=HEAD
2024-07-24 00:38:42 UTC/bin/sh -c #(nop) LABEL GIT_REPO=https://github.com/ceph/ceph-container.git
2024-07-24 00:38:42 UTC/bin/sh -c #(nop) LABEL GIT_BRANCH=HEAD
2024-07-24 00:38:42 UTC/bin/sh -c #(nop) LABEL GIT_COMMIT=c5aaba5e3282b30e4782f2b5d6e4e362e22dfcb7
2024-07-24 00:38:42 UTC/bin/sh -c #(nop) LABEL GIT_CLEAN=True
2024-07-24 00:38:42 UTC/bin/sh -c #(nop) LABEL CEPH_POINT_RELEASE=-18.2.4
2024-07-24 00:38:42 UTC/bin/sh -c #(nop) ENV CEPH_VERSION=reef
2024-07-24 00:38:42 UTC/bin/sh -c #(nop) ENV CEPH_POINT_RELEASE=-18.2.4
2024-07-24 00:38:42 UTC/bin/sh -c #(nop) ENV CEPH_DEVEL=false
2024-07-24 00:38:42 UTC/bin/sh -c #(nop) ENV CEPH_REF=reef
2024-07-24 00:38:42 UTC/bin/sh -c #(nop) ENV OSD_FLAVOR=default
2024-07-24 00:38:42 UTC/bin/sh -c #(nop) EXPOSE 5000 6789 6800 6801 6802 6803 6804 6805 80
2024-07-24 00:42:54 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 nfs-ganesha-rados-urls sssd-client dbus-daemon rpcbind" ]; then if [[ "${CEPH_VERSION}" =~ master|main|reef|squid ]]; then ARCH=$(arch); if [[ "${ARCH}" == "aarch64" ]]; then ARCH="arm64"; fi ; 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}" == quincy ]]; 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/storage/\$basearch/nfsganesha-4/" >> /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 "" ]; 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-18.2.4"; if [[ -n "-18.2.4" ]]; then CPR=-18.2.4 ; 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-18.2.4"; fi ; else RELEASE_VER=1 ; REPO_URL="http://download.ceph.com/rpm-${CEPH_VERSION}/el9/"; fi && rpm -Uvh "$REPO_URL/noarch/ceph-release-1-${RELEASE_VER}.el9.noarch.rpm" && 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 ; fi ' && yum install -y --setopt=install_weak_deps=False --enablerepo=crb ca-certificates e2fsprogs ceph-common-18.2.4 ceph-mon-18.2.4 ceph-osd-18.2.4 ceph-mds-18.2.4 cephfs-mirror-18.2.4 cephfs-top-18.2.4 rbd-mirror-18.2.4 ceph-mgr-18.2.4 ceph-mgr-cephadm-18.2.4 ceph-mgr-dashboard-18.2.4 ceph-mgr-diskprediction-local-18.2.4 ceph-mgr-k8sevents-18.2.4 ceph-mgr-rook-18.2.4 python3-saml ceph-grafana-dashboards-18.2.4 kmod lvm2 gdisk smartmontools nvme-cli libstoragemgmt systemd-udev sg3_utils procps-ng hostname ceph-radosgw-18.2.4 libradosstriper1-18.2.4 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 attr ceph-fuse-18.2.4 rbd-nbd-18.2.4 ${CRIMSON_PACKAGES} ceph-immutable-object-cache-18.2.4 ceph-volume-18.2.4 ceph-exporter-18.2.4 && echo '@ceph - memlock 204800' >> /etc/security/limits.conf && echo '@root - memlock 204800' >> /etc/security/limits.conf && 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-18.2.4 ceph-mon-18.2.4 ceph-osd-18.2.4 ceph-mds-18.2.4 cephfs-mirror-18.2.4 cephfs-top-18.2.4 rbd-mirror-18.2.4 ceph-mgr-18.2.4 ceph-mgr-cephadm-18.2.4 ceph-mgr-dashboard-18.2.4 ceph-mgr-diskprediction-local-18.2.4 ceph-mgr-k8sevents-18.2.4 ceph-mgr-rook-18.2.4 python3-saml ceph-grafana-dashboards-18.2.4 kmod lvm2 gdisk smartmontools nvme-cli libstoragemgmt systemd-udev sg3_utils procps-ng hostname ceph-radosgw-18.2.4 libradosstriper1-18.2.4 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 attr ceph-fuse-18.2.4 rbd-nbd-18.2.4 ${CRIMSON_PACKAGES} ceph-immutable-object-cache-18.2.4 ceph-volume-18.2.4 ceph-exporter-18.2.4 ) && 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-18.2.4 ceph-mon-18.2.4 ceph-osd-18.2.4 ceph-mds-18.2.4 cephfs-mirror-18.2.4 cephfs-top-18.2.4 rbd-mirror-18.2.4 ceph-mgr-18.2.4 ceph-mgr-cephadm-18.2.4 ceph-mgr-dashboard-18.2.4 ceph-mgr-diskprediction-local-18.2.4 ceph-mgr-k8sevents-18.2.4 ceph-mgr-rook-18.2.4 python3-saml ceph-grafana-dashboards-18.2.4 kmod lvm2 gdisk smartmontools nvme-cli libstoragemgmt systemd-udev sg3_utils procps-ng hostname ceph-radosgw-18.2.4 libradosstriper1-18.2.4 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 attr ceph-fuse-18.2.4 rbd-nbd-18.2.4 ${CRIMSON_PACKAGES} ceph-immutable-object-cache-18.2.4 ceph-volume-18.2.4 ceph-exporter-18.2.4 && echo 'Packages verified successfully'
2024-12-20 17:33:50 UTC (buildkit.dockerfile.v0)ARG S5CMD_VERSION
2024-12-20 17:33:50 UTC (buildkit.dockerfile.v0)ARG S5CMD_ARCH
2024-12-20 17:33:50 UTC (buildkit.dockerfile.v0)RUN |2 S5CMD_VERSION=2.3.0 S5CMD_ARCH=Linux-64bit /bin/sh -c dnf install -y --repo baseos --setopt=install_weak_deps=False iproute && dnf clean all # buildkit
2024-12-20 17:33:51 UTC (buildkit.dockerfile.v0)RUN |2 S5CMD_VERSION=2.3.0 S5CMD_ARCH=Linux-64bit /bin/sh -c curl --fail -sSL -o /s5cmd.tar.gz https://github.com/peak/s5cmd/releases/download/v${S5CMD_VERSION}/s5cmd_${S5CMD_VERSION}_${S5CMD_ARCH}.tar.gz && mkdir /s5cmd && tar xf /s5cmd.tar.gz -C /s5cmd && install /s5cmd/s5cmd /usr/local/bin/s5cmd && rm -rf /s5cmd.tar.gz /s5cmd # buildkit
2024-12-20 17:33:52 UTC (buildkit.dockerfile.v0)COPY rook toolbox.sh set-ceph-debug-level /usr/local/bin/ # buildkit
2024-12-20 17:33:52 UTC (buildkit.dockerfile.v0)COPY ceph-monitoring /etc/ceph-monitoring # buildkit
2024-12-20 17:33:52 UTC (buildkit.dockerfile.v0)COPY rook-external /etc/rook-external/ # buildkit
2024-12-20 17:33:52 UTC (buildkit.dockerfile.v0)RUN |2 S5CMD_VERSION=2.3.0 S5CMD_ARCH=Linux-64bit /bin/sh -c useradd rook -u 2016 # 2016 is the UID of the rook user and also the year of the first commit in the project # buildkit
2024-12-20 17:33:52 UTC (buildkit.dockerfile.v0)USER 2016
2024-12-20 17:33:52 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/usr/local/bin/rook"]
2024-12-20 17:33:52 UTC (buildkit.dockerfile.v0)CMD [""]
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.