created |
2024-10-08T02:16:05.873936751Z
|
created_by |
/bin/sh -c #(nop) ADD file:3e41c1cd7bea127dc09a23d68cc836640f2f07af3c9f2446c02a910d19544db5 in /
|
empty_layer |
true
|
|
created |
2024-10-08T02:16:05.874025374Z
|
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="20241008"
|
empty_layer |
true
|
|
created |
2024-10-08T02:16:08.861506351Z
|
created_by |
/bin/sh -c #(nop) CMD ["/bin/bash"]
|
|
comment |
buildkit.dockerfile.v0
|
created |
2024-10-10T15:33:57.536777483Z
|
created_by |
ENV I_AM_IN_A_CONTAINER=1
|
empty_layer |
true
|
|
comment |
buildkit.dockerfile.v0
|
created |
2024-10-10T15:33:57.536777483Z
|
created_by |
LABEL maintainer=Guillaume Abrioux <gabrioux@redhat.com>
|
empty_layer |
true
|
|
comment |
buildkit.dockerfile.v0
|
created |
2024-10-10T15:33:57.536777483Z
|
created_by |
LABEL ceph=True
|
empty_layer |
true
|
|
comment |
buildkit.dockerfile.v0
|
created |
2024-10-10T15:33:57.536777483Z
|
created_by |
LABEL RELEASE=main-ffa99709
|
empty_layer |
true
|
|
comment |
buildkit.dockerfile.v0
|
created |
2024-10-10T15:33:57.536777483Z
|
created_by |
LABEL GIT_REPO=https://github.com/ceph/ceph-container.git
|
empty_layer |
true
|
|
comment |
buildkit.dockerfile.v0
|
created |
2024-10-10T15:33:57.536777483Z
|
created_by |
LABEL GIT_BRANCH=HEAD
|
empty_layer |
true
|
|
comment |
buildkit.dockerfile.v0
|
created |
2024-10-10T15:33:57.536777483Z
|
created_by |
LABEL GIT_COMMIT=ffa99709212d0dca3e09dd3d085a0b5a1bba2df0
|
empty_layer |
true
|
|
comment |
buildkit.dockerfile.v0
|
created |
2024-10-10T15:33:57.536777483Z
|
created_by |
LABEL GIT_CLEAN=True
|
empty_layer |
true
|
|
comment |
buildkit.dockerfile.v0
|
created |
2024-10-10T15:33:57.536777483Z
|
created_by |
LABEL CEPH_POINT_RELEASE=
|
empty_layer |
true
|
|
comment |
buildkit.dockerfile.v0
|
created |
2024-10-10T15:33:57.536777483Z
|
created_by |
ENV CEPH_VERSION=squid
|
empty_layer |
true
|
|
comment |
buildkit.dockerfile.v0
|
created |
2024-10-10T15:33:57.536777483Z
|
created_by |
ENV CEPH_POINT_RELEASE=
|
empty_layer |
true
|
|
comment |
buildkit.dockerfile.v0
|
created |
2024-10-10T15:33:57.536777483Z
|
created_by |
ENV CEPH_DEVEL=false
|
empty_layer |
true
|
|
comment |
buildkit.dockerfile.v0
|
created |
2024-10-10T15:33:57.536777483Z
|
created_by |
ENV CEPH_REF=squid
|
empty_layer |
true
|
|
comment |
buildkit.dockerfile.v0
|
created |
2024-10-10T15:33:57.536777483Z
|
created_by |
ENV OSD_FLAVOR=default
|
empty_layer |
true
|
|
comment |
buildkit.dockerfile.v0
|
created |
2024-10-10T15:33:57.536777483Z
|
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-10-10T15:33:57.536777483Z
|
created_by |
RUN /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"; if [[ -n "" ]]; then CPR= ; 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"; 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 ceph-mon ceph-osd ceph-mds cephfs-mirror cephfs-top rbd-mirror ceph-mgr ceph-mgr-cephadm ceph-mgr-dashboard ceph-mgr-diskprediction-local ceph-mgr-k8sevents ceph-mgr-rook python3-saml ceph-grafana-dashboards kmod lvm2 gdisk smartmontools nvme-cli libstoragemgmt systemd-udev sg3_utils procps-ng hostname ceph-radosgw libradosstriper1 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 rbd-nbd ${CRIMSON_PACKAGES} ceph-immutable-object-cache ceph-volume ceph-exporter ; else yum install -y --setopt=install_weak_deps=False --enablerepo=crb ca-certificates e2fsprogs ceph-common ceph-mon ceph-osd ceph-mds cephfs-mirror cephfs-top rbd-mirror ceph-mgr ceph-mgr-cephadm ceph-mgr-dashboard ceph-mgr-diskprediction-local ceph-mgr-k8sevents ceph-mgr-rook python3-saml ceph-grafana-dashboards kmod lvm2 gdisk smartmontools nvme-cli libstoragemgmt systemd-udev sg3_utils procps-ng hostname ceph-radosgw libradosstriper1 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 rbd-nbd ${CRIMSON_PACKAGES} ceph-immutable-object-cache ceph-volume ceph-exporter ; 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 ceph-mon ceph-osd ceph-mds cephfs-mirror cephfs-top rbd-mirror ceph-mgr ceph-mgr-cephadm ceph-mgr-dashboard ceph-mgr-diskprediction-local ceph-mgr-k8sevents ceph-mgr-rook python3-saml ceph-grafana-dashboards kmod lvm2 gdisk smartmontools nvme-cli libstoragemgmt systemd-udev sg3_utils procps-ng hostname ceph-radosgw libradosstriper1 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 rbd-nbd ${CRIMSON_PACKAGES} ceph-immutable-object-cache ceph-volume ceph-exporter ) && 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 ceph-mon ceph-osd ceph-mds cephfs-mirror cephfs-top rbd-mirror ceph-mgr ceph-mgr-cephadm ceph-mgr-dashboard ceph-mgr-diskprediction-local ceph-mgr-k8sevents ceph-mgr-rook python3-saml ceph-grafana-dashboards kmod lvm2 gdisk smartmontools nvme-cli libstoragemgmt systemd-udev sg3_utils procps-ng hostname ceph-radosgw libradosstriper1 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 rbd-nbd ${CRIMSON_PACKAGES} ceph-immutable-object-cache ceph-volume ceph-exporter && echo 'Packages verified successfully' # buildkit
|
|
comment |
buildkit.dockerfile.v0
|
created |
2024-10-10T15:37:14.089477941Z
|
created_by |
ENV I_AM_IN_A_CONTAINER=1
|
empty_layer |
true
|
|
comment |
buildkit.dockerfile.v0
|
created |
2024-10-10T15:37:14.089477941Z
|
created_by |
LABEL maintainer=Guillaume Abrioux <gabrioux@redhat.com>
|
empty_layer |
true
|
|
comment |
buildkit.dockerfile.v0
|
created |
2024-10-10T15:37:14.089477941Z
|
created_by |
LABEL ceph=True
|
empty_layer |
true
|
|
comment |
buildkit.dockerfile.v0
|
created |
2024-10-10T15:37:14.089477941Z
|
created_by |
LABEL RELEASE=main-ffa99709
|
empty_layer |
true
|
|
comment |
buildkit.dockerfile.v0
|
created |
2024-10-10T15:37:14.089477941Z
|
created_by |
LABEL GIT_REPO=https://github.com/ceph/ceph-container.git
|
empty_layer |
true
|
|
comment |
buildkit.dockerfile.v0
|
created |
2024-10-10T15:37:14.089477941Z
|
created_by |
LABEL GIT_BRANCH=HEAD
|
empty_layer |
true
|
|
comment |
buildkit.dockerfile.v0
|
created |
2024-10-10T15:37:14.089477941Z
|
created_by |
LABEL GIT_COMMIT=ffa99709212d0dca3e09dd3d085a0b5a1bba2df0
|
empty_layer |
true
|
|
comment |
buildkit.dockerfile.v0
|
created |
2024-10-10T15:37:14.089477941Z
|
created_by |
LABEL GIT_CLEAN=True
|
empty_layer |
true
|
|
comment |
buildkit.dockerfile.v0
|
created |
2024-10-10T15:37:14.089477941Z
|
created_by |
LABEL CEPH_POINT_RELEASE=
|
empty_layer |
true
|
|
comment |
buildkit.dockerfile.v0
|
created |
2024-10-10T15:37:14.089477941Z
|
created_by |
ENV CEPH_VERSION=squid
|
empty_layer |
true
|
|
comment |
buildkit.dockerfile.v0
|
created |
2024-10-10T15:37:14.089477941Z
|
created_by |
ENV CEPH_POINT_RELEASE=
|
empty_layer |
true
|
|
comment |
buildkit.dockerfile.v0
|
created |
2024-10-10T15:37:14.089477941Z
|
created_by |
ENV CEPH_DEVEL=false
|
empty_layer |
true
|
|
comment |
buildkit.dockerfile.v0
|
created |
2024-10-10T15:37:14.089477941Z
|
created_by |
ENV CEPH_REF=squid
|
empty_layer |
true
|
|
comment |
buildkit.dockerfile.v0
|
created |
2024-10-10T15:37:14.089477941Z
|
created_by |
ENV OSD_FLAVOR=default
|
empty_layer |
true
|
|
comment |
buildkit.dockerfile.v0
|
created |
2024-10-10T15:37:14.089477941Z
|
created_by |
ADD demo.sh /opt/ceph-container/bin/demo # buildkit
|
|
comment |
buildkit.dockerfile.v0
|
created |
2024-10-10T15:37:16.352046955Z
|
created_by |
ADD s3cfg /root/.s3cfg # buildkit
|
|
comment |
buildkit.dockerfile.v0
|
created |
2024-10-10T15:37:18.79067198Z
|
created_by |
COPY Sree-0.2.tar.gz /opt/ceph-container/tmp/sree.tar.gz # buildkit
|
|
comment |
buildkit.dockerfile.v0
|
created |
2024-10-10T15:37:54.564121409Z
|
created_by |
RUN /bin/sh -c dnf install -y --setopt=install_weak_deps=False s3cmd && dnf clean all # buildkit
|
|
comment |
buildkit.dockerfile.v0
|
created |
2024-10-10T15:37:54.564121409Z
|
created_by |
WORKDIR /
|
empty_layer |
true
|
|
comment |
buildkit.dockerfile.v0
|
created |
2024-10-10T15:37:54.564121409Z
|
created_by |
ENTRYPOINT ["/opt/ceph-container/bin/demo"]
|
empty_layer |
true
|
|