From: John Mulligan Date: Fri, 20 Jun 2025 23:03:22 +0000 (-0400) Subject: script/build-with-container: add rocky10 to built-in distros X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F64072%2Fhead;p=ceph.git script/build-with-container: add rocky10 to built-in distros Add "rocky10" (also aliased to "rockylinux10") to the known distro bases so that the team can begin to experiment with the Rocky Linux 10 distro for containerized builds. Signed-off-by: John Mulligan --- diff --git a/src/script/build-with-container.py b/src/script/build-with-container.py index b8c2841e8f9d6..66d40b619e68c 100755 --- a/src/script/build-with-container.py +++ b/src/script/build-with-container.py @@ -105,12 +105,19 @@ class DistroKind(StrEnum): CENTOS8 = "centos8" CENTOS9 = "centos9" FEDORA41 = "fedora41" + ROCKY10 = "rocky10" UBUNTU2204 = "ubuntu22.04" UBUNTU2404 = "ubuntu24.04" @classmethod def uses_dnf(cls): - return {cls.CENTOS8, cls.CENTOS9, cls.CENTOS10, cls.FEDORA41} + return { + cls.CENTOS10, + cls.CENTOS8, + cls.CENTOS9, + cls.FEDORA41, + cls.ROCKY10, + } @classmethod def uses_rpmbuild(cls): @@ -128,6 +135,8 @@ class DistroKind(StrEnum): "centos9stream": cls.CENTOS9, str(cls.FEDORA41): cls.FEDORA41, "fc41": cls.FEDORA41, + str(cls.ROCKY10): cls.ROCKY10, + 'rockylinux10': cls.ROCKY10, str(cls.UBUNTU2204): cls.UBUNTU2204, "ubuntu-jammy": cls.UBUNTU2204, "jammy": cls.UBUNTU2204, @@ -146,6 +155,7 @@ class DefaultImage(StrEnum): CENTOS8 = "quay.io/centos/centos:stream8" CENTOS9 = "quay.io/centos/centos:stream9" FEDORA41 = "registry.fedoraproject.org/fedora:41" + ROCKY10 = "docker.io/rockylinux/rockylinux:10" UBUNTU2204 = "docker.io/ubuntu:22.04" UBUNTU2404 = "docker.io/ubuntu:24.04"