Namespace
rook
Image / Tag
ceph:v1.13.0.12.g0c7554b50
Content Digest
sha256:1df925ed0b1e9425734bcbd12f2005c4a4dc34093b8b7b226ab16722a15f6931
Details
Created

2023-12-04 23:54:33 UTC

Size

445 MB

Content Digest
Labels
  • CEPH_POINT_RELEASE
    -18.2.0
  • GIT_BRANCH
    HEAD
  • GIT_CLEAN
    True
  • GIT_COMMIT
    0276d4bc3282ae75bb0671fea0eedd153f296a47
  • GIT_REPO
    https://github.com/ceph/ceph-container.git
  • RELEASE
    HEAD
  • ceph
    True
  • io.buildah.version
    1.29.1
  • maintainer
    Guillaume Abrioux <gabrioux@redhat.com>
  • org.label-schema.build-date
    20231017
  • org.label-schema.license
    GPLv2
  • org.label-schema.name
    CentOS Stream 8 Base Image
  • org.label-schema.schema-version
    1.0
  • org.label-schema.vendor
    CentOS

Environment
CEPH_DEVEL

false

CEPH_POINT_RELEASE

-18.2.0

CEPH_REF

reef

CEPH_VERSION

reef

I_AM_IN_A_CONTAINER

1

OSD_FLAVOR

default

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin


Layers

[#000] sha256:7a88af62c4eaf84f573016a7035910b11b3aeb2ade89ff5e4bd112fb8dea58bb - 17.25% (76.7 MB)

[#001] sha256:29ad46176f292c35a8de807be92b9c3cac2205868d69e9fd3885bd7733ea475b - 77.43% (345 MB)

[#002] sha256:fac3e97e870b465d527a88ac191d034f0290428ef9fc2ff409a9c44ab2648107 - 0.37% (1.64 MB)

[#003] sha256:45f571d3267bf9f893a000058e0d535dc55030e6a786150a99241199bb6ece9c - 1.03% (4.6 MB)

[#004] sha256:65d2738854776b00e08eb4a4ff982f6055db08f2a1820d45c80551dea67edbd6 - 3.9% (17.3 MB)

[#005] sha256:19e755b5e72df1ea40599efec469f5e8e935226b35a0426a20b2be1f3567738f - 0.0% (9.56 KB)

[#006] sha256:cb8ab51971194db09c998e39514dbe630292b6172222a08a434f91d97872eba9 - 0.0% (22.3 KB)

[#007] sha256:19cfbea65467e0b9463c4a4bcee2c6db7e72632a52827ae42aee858c5314c8de - 0.01% (64.1 KB)

[#008] sha256:540fa4456645d82d9d990161b66b670b969598bbd44ae15993defd9d1d533e26 - 0.0% (1.97 KB)


History
2023-10-17 18:21:21 UTC

/bin/sh -c #(nop) ADD file:6bdacfb85a3179fbdb936c3ec26fb1700877eea8be15189bba56c0f174cae04b in /

2023-10-17 18:21:21 UTC

/bin/sh -c #(nop) LABEL org.label-schema.schema-version="1.0" org.label-schema.name="CentOS Stream 8 Base Image" org.label-schema.vendor="CentOS" org.label-schema.license="GPLv2" org.label-schema.build-date="20231017"

2023-10-17 18:21:29 UTC

/bin/sh -c #(nop) CMD ["/bin/bash"]

2023-10-18 15:56:40 UTC

/bin/sh -c #(nop) ENV I_AM_IN_A_CONTAINER=1

2023-10-18 15:56:41 UTC

/bin/sh -c #(nop) LABEL maintainer=Guillaume Abrioux <gabrioux@redhat.com>

2023-10-18 15:56:42 UTC

/bin/sh -c #(nop) LABEL ceph=True

2023-10-18 15:56:44 UTC

/bin/sh -c #(nop) LABEL RELEASE=HEAD

2023-10-18 15:56:45 UTC

/bin/sh -c #(nop) LABEL GIT_REPO=https://github.com/ceph/ceph-container.git

2023-10-18 15:56:46 UTC

/bin/sh -c #(nop) LABEL GIT_BRANCH=HEAD

2023-10-18 15:56:47 UTC

/bin/sh -c #(nop) LABEL GIT_COMMIT=0276d4bc3282ae75bb0671fea0eedd153f296a47

2023-10-18 15:56:49 UTC

/bin/sh -c #(nop) LABEL GIT_CLEAN=True

2023-10-18 16:10:55 UTC

/bin/sh -c #(nop) LABEL CEPH_POINT_RELEASE=-18.2.0

2023-10-18 16:10:57 UTC

/bin/sh -c #(nop) ENV CEPH_VERSION=reef

2023-10-18 16:10:58 UTC

/bin/sh -c #(nop) ENV CEPH_POINT_RELEASE=-18.2.0

2023-10-18 16:11:00 UTC

/bin/sh -c #(nop) ENV CEPH_DEVEL=false

2023-10-18 16:11:01 UTC

/bin/sh -c #(nop) ENV CEPH_REF=reef

2023-10-18 16:11:03 UTC

/bin/sh -c #(nop) ENV OSD_FLAVOR=default

2023-10-18 16:11:05 UTC

/bin/sh -c #(nop) EXPOSE 5000 6789 6800 6801 6802 6803 6804 6805 80

2023-10-18 16:15:49 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 || "${CEPH_VERSION}" == main ]]; then ARCH=$(arch); if [[ "${ARCH}" == "aarch64" ]]; then ARCH="arm64"; fi ; curl -s -L "https://shaman.ceph.com/api/repos/nfs-ganesha/V5.5/latest/centos/8/flavors/ceph_main/repo?arch=${ARCH}" -o /etc/yum.repos.d/ganesha.repo ; elif [[ "${CEPH_VERSION}" == reef ]]; 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}" == 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 "tcmu-runner ceph-iscsi python3-rtslib" ]; then curl -s -L https://shaman.ceph.com/api/repos/tcmu-runner/main/latest/centos/8/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/8/repo -o /etc/yum.repos.d/ceph-iscsi.repo ; elif [[ "${CEPH_VERSION}" =~ nautilus|octopus|pacific|quincy|reef ]]; 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-18.2.0"; if [[ -n "-18.2.0" ]]; then CPR=-18.2.0 ; 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/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-18.2.0"; 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 ; yum copr enable -y tchaikov/python3-asyncssh ; fi ' && yum install -y --setopt=install_weak_deps=False --enablerepo=powertools ca-certificates e2fsprogs ceph-common-18.2.0 ceph-mon-18.2.0 ceph-osd-18.2.0 cephfs-top-18.2.0 ceph-mds-18.2.0 cephfs-mirror-18.2.0 rbd-mirror-18.2.0 ceph-mgr-18.2.0 ceph-mgr-cephadm-18.2.0 ceph-mgr-dashboard-18.2.0 ceph-mgr-diskprediction-local-18.2.0 ceph-mgr-k8sevents-18.2.0 ceph-mgr-rook-18.2.0 python3-saml ceph-grafana-dashboards-18.2.0 kmod lvm2 gdisk smartmontools nvme-cli libstoragemgmt systemd-udev sg3_utils procps-ng hostname ceph-radosgw-18.2.0 libradosstriper1-18.2.0 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-18.2.0 rbd-nbd-18.2.0 ${CRIMSON_PACKAGES} ceph-immutable-object-cache-18.2.0 python3-scikit-learn ceph-volume-18.2.0 ceph-exporter-18.2.0 && 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.0 ceph-mon-18.2.0 ceph-osd-18.2.0 cephfs-top-18.2.0 ceph-mds-18.2.0 cephfs-mirror-18.2.0 rbd-mirror-18.2.0 ceph-mgr-18.2.0 ceph-mgr-cephadm-18.2.0 ceph-mgr-dashboard-18.2.0 ceph-mgr-diskprediction-local-18.2.0 ceph-mgr-k8sevents-18.2.0 ceph-mgr-rook-18.2.0 python3-saml ceph-grafana-dashboards-18.2.0 kmod lvm2 gdisk smartmontools nvme-cli libstoragemgmt systemd-udev sg3_utils procps-ng hostname ceph-radosgw-18.2.0 libradosstriper1-18.2.0 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-18.2.0 rbd-nbd-18.2.0 ${CRIMSON_PACKAGES} ceph-immutable-object-cache-18.2.0 python3-scikit-learn ceph-volume-18.2.0 ceph-exporter-18.2.0 ) && 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 && 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.0 ceph-mon-18.2.0 ceph-osd-18.2.0 cephfs-top-18.2.0 ceph-mds-18.2.0 cephfs-mirror-18.2.0 rbd-mirror-18.2.0 ceph-mgr-18.2.0 ceph-mgr-cephadm-18.2.0 ceph-mgr-dashboard-18.2.0 ceph-mgr-diskprediction-local-18.2.0 ceph-mgr-k8sevents-18.2.0 ceph-mgr-rook-18.2.0 python3-saml ceph-grafana-dashboards-18.2.0 kmod lvm2 gdisk smartmontools nvme-cli libstoragemgmt systemd-udev sg3_utils procps-ng hostname ceph-radosgw-18.2.0 libradosstriper1-18.2.0 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-18.2.0 rbd-nbd-18.2.0 ${CRIMSON_PACKAGES} ceph-immutable-object-cache-18.2.0 python3-scikit-learn ceph-volume-18.2.0 ceph-exporter-18.2.0 && echo 'Packages verified successfully'

2023-12-04 23:54:32 UTC (buildkit.dockerfile.v0)

ARG S5CMD_VERSION

2023-12-04 23:54:32 UTC (buildkit.dockerfile.v0)

ARG S5CMD_ARCH

2023-12-04 23:54:32 UTC (buildkit.dockerfile.v0)

RUN |2 S5CMD_VERSION=2.2.1 S5CMD_ARCH=Linux-64bit /bin/sh -c dnf install -y --setopt=install_weak_deps=False iproute && dnf clean all # buildkit

2023-12-04 23:54:33 UTC (buildkit.dockerfile.v0)

RUN |2 S5CMD_VERSION=2.2.1 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

2023-12-04 23:54:33 UTC (buildkit.dockerfile.v0)

COPY rook toolbox.sh set-ceph-debug-level /usr/local/bin/ # buildkit

2023-12-04 23:54:33 UTC (buildkit.dockerfile.v0)

COPY ceph-monitoring /etc/ceph-monitoring # buildkit

2023-12-04 23:54:33 UTC (buildkit.dockerfile.v0)

COPY rook-external /etc/rook-external/ # buildkit

2023-12-04 23:54:33 UTC (buildkit.dockerfile.v0)

COPY ceph-csv-templates /etc/ceph-csv-templates # buildkit

2023-12-04 23:54:33 UTC (buildkit.dockerfile.v0)

RUN |2 S5CMD_VERSION=2.2.1 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

2023-12-04 23:54:33 UTC (buildkit.dockerfile.v0)

USER 2016

2023-12-04 23:54:33 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/usr/local/bin/rook"]

2023-12-04 23:54:33 UTC (buildkit.dockerfile.v0)

CMD [""]

Details
Created

2023-12-04 23:57:27 UTC

Size

420 MB

Content Digest
Labels
  • CEPH_POINT_RELEASE
    -18.2.0
  • GIT_BRANCH
    HEAD
  • GIT_CLEAN
    True
  • GIT_COMMIT
    0276d4bc3282ae75bb0671fea0eedd153f296a47
  • GIT_REPO
    https://github.com/ceph/ceph-container.git
  • RELEASE
    HEAD
  • ceph
    True
  • io.buildah.version
    1.29.1
  • maintainer
    Guillaume Abrioux <gabrioux@redhat.com>
  • org.label-schema.build-date
    20231017
  • org.label-schema.license
    GPLv2
  • org.label-schema.name
    CentOS Stream 8 Base Image
  • org.label-schema.schema-version
    1.0
  • org.label-schema.vendor
    CentOS

Environment
CEPH_DEVEL

false

CEPH_POINT_RELEASE

-18.2.0

CEPH_REF

reef

CEPH_VERSION

reef

I_AM_IN_A_CONTAINER

1

OSD_FLAVOR

default

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin


Layers

[#000] sha256:1618de3c83298da1fc0ccd850fc64377f8b6a2c5cfba4850e3b9e879f77d2d81 - 18.12% (76 MB)

[#001] sha256:efe7f36f0a3756698db34fbb5629b181368fd78ba14c349d2886e70a6d5b2ef2 - 76.66% (322 MB)

[#002] sha256:474a8b0b264f62d88359e0ebff94c63e93e002015997ca9f7d1aa1a08c722a28 - 0.36% (1.53 MB)

[#003] sha256:ab0728288f39f6ed181026e3ad6e90a1874f7cd8f990b6ff7199df53c4ff90ae - 1.1% (4.6 MB)

[#004] sha256:337f4b002fa728d667e5eb74b89d2e0882713e40ee7925ffb149632a4b91639a - 3.75% (15.7 MB)

[#005] sha256:9c7cdf5ff8f4e2d592e05001147d9a0c03b9e84db3d3b8920a666d7fb676e3bd - 0.0% (9.57 KB)

[#006] sha256:fd6992b51e0b5c9fa66ca19b9dce6b349ea558bc9fcbaedca60bad4dc32444a6 - 0.01% (22.3 KB)

[#007] sha256:bf3a41910ad9c76246d0ae7b67b5949e3176e684504dc47d462f07879a278609 - 0.0% (146 Bytes)

[#008] sha256:e9ac1c41369f47bbf2b9aa36ec2f15fe0301a0dc52e2129fd413e12263a7ec28 - 0.0% (1.96 KB)


History
2023-10-17 18:20:25 UTC

/bin/sh -c #(nop) ADD file:34f9776b5c052b1aeed56f540a53ec650f65412c7efec5a10e1b8fc533621c37 in /

2023-10-17 18:20:25 UTC

/bin/sh -c #(nop) LABEL org.label-schema.schema-version="1.0" org.label-schema.name="CentOS Stream 8 Base Image" org.label-schema.vendor="CentOS" org.label-schema.license="GPLv2" org.label-schema.build-date="20231017"

2023-10-17 18:20:27 UTC

/bin/sh -c #(nop) CMD ["/bin/bash"]

2023-10-18 11:13:09 UTC

/bin/sh -c #(nop) ENV I_AM_IN_A_CONTAINER=1

2023-10-18 11:13:10 UTC

/bin/sh -c #(nop) LABEL maintainer=Guillaume Abrioux <gabrioux@redhat.com>

2023-10-18 11:13:10 UTC

/bin/sh -c #(nop) LABEL ceph=True

2023-10-18 11:13:10 UTC

/bin/sh -c #(nop) LABEL RELEASE=HEAD

2023-10-18 11:13:11 UTC

/bin/sh -c #(nop) LABEL GIT_REPO=https://github.com/ceph/ceph-container.git

2023-10-18 11:13:11 UTC

/bin/sh -c #(nop) LABEL GIT_BRANCH=HEAD

2023-10-18 11:13:11 UTC

/bin/sh -c #(nop) LABEL GIT_COMMIT=0276d4bc3282ae75bb0671fea0eedd153f296a47

2023-10-18 11:13:11 UTC

/bin/sh -c #(nop) LABEL GIT_CLEAN=True

2023-10-18 11:34:17 UTC

/bin/sh -c #(nop) LABEL CEPH_POINT_RELEASE=-18.2.0

2023-10-18 11:34:17 UTC

/bin/sh -c #(nop) ENV CEPH_VERSION=reef

2023-10-18 11:34:17 UTC

/bin/sh -c #(nop) ENV CEPH_POINT_RELEASE=-18.2.0

2023-10-18 11:34:18 UTC

/bin/sh -c #(nop) ENV CEPH_DEVEL=false

2023-10-18 11:34:18 UTC

/bin/sh -c #(nop) ENV CEPH_REF=reef

2023-10-18 11:34:18 UTC

/bin/sh -c #(nop) ENV OSD_FLAVOR=default

2023-10-18 11:34:18 UTC

/bin/sh -c #(nop) EXPOSE 5000 6789 6800 6801 6802 6803 6804 6805 80

2023-10-18 11:41:08 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 || "${CEPH_VERSION}" == main ]]; then ARCH=$(arch); if [[ "${ARCH}" == "aarch64" ]]; then ARCH="arm64"; fi ; curl -s -L "https://shaman.ceph.com/api/repos/nfs-ganesha/V5.5/latest/centos/8/flavors/ceph_main/repo?arch=${ARCH}" -o /etc/yum.repos.d/ganesha.repo ; elif [[ "${CEPH_VERSION}" == reef ]]; 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}" == 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 "tcmu-runner ceph-iscsi python3-rtslib" ]; then curl -s -L https://shaman.ceph.com/api/repos/tcmu-runner/main/latest/centos/8/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/8/repo -o /etc/yum.repos.d/ceph-iscsi.repo ; elif [[ "${CEPH_VERSION}" =~ nautilus|octopus|pacific|quincy|reef ]]; 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-18.2.0"; if [[ -n "-18.2.0" ]]; then CPR=-18.2.0 ; 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/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-18.2.0"; 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 ; yum copr enable -y tchaikov/python3-asyncssh ; fi ' && yum install -y --setopt=install_weak_deps=False --enablerepo=powertools ca-certificates e2fsprogs ceph-common-18.2.0 ceph-mon-18.2.0 ceph-osd-18.2.0 cephfs-top-18.2.0 ceph-mds-18.2.0 cephfs-mirror-18.2.0 rbd-mirror-18.2.0 ceph-mgr-18.2.0 ceph-mgr-cephadm-18.2.0 ceph-mgr-dashboard-18.2.0 ceph-mgr-diskprediction-local-18.2.0 ceph-mgr-k8sevents-18.2.0 ceph-mgr-rook-18.2.0 python3-saml ceph-grafana-dashboards-18.2.0 kmod lvm2 gdisk smartmontools nvme-cli libstoragemgmt systemd-udev sg3_utils procps-ng hostname ceph-radosgw-18.2.0 libradosstriper1-18.2.0 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-18.2.0 rbd-nbd-18.2.0 ${CRIMSON_PACKAGES} ceph-immutable-object-cache-18.2.0 python3-scikit-learn ceph-volume-18.2.0 ceph-exporter-18.2.0 && 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.0 ceph-mon-18.2.0 ceph-osd-18.2.0 cephfs-top-18.2.0 ceph-mds-18.2.0 cephfs-mirror-18.2.0 rbd-mirror-18.2.0 ceph-mgr-18.2.0 ceph-mgr-cephadm-18.2.0 ceph-mgr-dashboard-18.2.0 ceph-mgr-diskprediction-local-18.2.0 ceph-mgr-k8sevents-18.2.0 ceph-mgr-rook-18.2.0 python3-saml ceph-grafana-dashboards-18.2.0 kmod lvm2 gdisk smartmontools nvme-cli libstoragemgmt systemd-udev sg3_utils procps-ng hostname ceph-radosgw-18.2.0 libradosstriper1-18.2.0 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-18.2.0 rbd-nbd-18.2.0 ${CRIMSON_PACKAGES} ceph-immutable-object-cache-18.2.0 python3-scikit-learn ceph-volume-18.2.0 ceph-exporter-18.2.0 ) && 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 && 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.0 ceph-mon-18.2.0 ceph-osd-18.2.0 cephfs-top-18.2.0 ceph-mds-18.2.0 cephfs-mirror-18.2.0 rbd-mirror-18.2.0 ceph-mgr-18.2.0 ceph-mgr-cephadm-18.2.0 ceph-mgr-dashboard-18.2.0 ceph-mgr-diskprediction-local-18.2.0 ceph-mgr-k8sevents-18.2.0 ceph-mgr-rook-18.2.0 python3-saml ceph-grafana-dashboards-18.2.0 kmod lvm2 gdisk smartmontools nvme-cli libstoragemgmt systemd-udev sg3_utils procps-ng hostname ceph-radosgw-18.2.0 libradosstriper1-18.2.0 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-18.2.0 rbd-nbd-18.2.0 ${CRIMSON_PACKAGES} ceph-immutable-object-cache-18.2.0 python3-scikit-learn ceph-volume-18.2.0 ceph-exporter-18.2.0 && echo 'Packages verified successfully'

2023-12-04 23:57:25 UTC (buildkit.dockerfile.v0)

ARG S5CMD_VERSION

2023-12-04 23:57:25 UTC (buildkit.dockerfile.v0)

ARG S5CMD_ARCH

2023-12-04 23:57:25 UTC (buildkit.dockerfile.v0)

RUN |2 S5CMD_VERSION=2.2.1 S5CMD_ARCH=Linux-64bit /bin/sh -c dnf install -y --setopt=install_weak_deps=False iproute && dnf clean all # buildkit

2023-12-04 23:57:27 UTC (buildkit.dockerfile.v0)

RUN |2 S5CMD_VERSION=2.2.1 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

2023-12-04 23:57:27 UTC (buildkit.dockerfile.v0)

COPY rook toolbox.sh set-ceph-debug-level /usr/local/bin/ # buildkit

2023-12-04 23:57:27 UTC (buildkit.dockerfile.v0)

COPY ceph-monitoring /etc/ceph-monitoring # buildkit

2023-12-04 23:57:27 UTC (buildkit.dockerfile.v0)

COPY rook-external /etc/rook-external/ # buildkit

2023-12-04 23:57:27 UTC (buildkit.dockerfile.v0)

COPY ceph-csv-templates /etc/ceph-csv-templates # buildkit

2023-12-04 23:57:27 UTC (buildkit.dockerfile.v0)

RUN |2 S5CMD_VERSION=2.2.1 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

2023-12-04 23:57:27 UTC (buildkit.dockerfile.v0)

USER 2016

2023-12-04 23:57:27 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/usr/local/bin/rook"]

2023-12-04 23:57:27 UTC (buildkit.dockerfile.v0)

CMD [""]

Danger Zone
Delete Tag

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.

Delete