Skip to content

Commit 33b33ff

Browse files
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 <[email protected]>
1 parent 7802a61 commit 33b33ff

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

src/script/build-with-container.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,12 +105,19 @@ class DistroKind(StrEnum):
105105
CENTOS8 = "centos8"
106106
CENTOS9 = "centos9"
107107
FEDORA41 = "fedora41"
108+
ROCKY10 = "rocky10"
108109
UBUNTU2204 = "ubuntu22.04"
109110
UBUNTU2404 = "ubuntu24.04"
110111

111112
@classmethod
112113
def uses_dnf(cls):
113-
return {cls.CENTOS8, cls.CENTOS9, cls.CENTOS10, cls.FEDORA41}
114+
return {
115+
cls.CENTOS10,
116+
cls.CENTOS8,
117+
cls.CENTOS9,
118+
cls.FEDORA41,
119+
cls.ROCKY10,
120+
}
114121

115122
@classmethod
116123
def uses_rpmbuild(cls):
@@ -128,6 +135,8 @@ def aliases(cls):
128135
"centos9stream": cls.CENTOS9,
129136
str(cls.FEDORA41): cls.FEDORA41,
130137
"fc41": cls.FEDORA41,
138+
str(cls.ROCKY10): cls.ROCKY10,
139+
'rockylinux10': cls.ROCKY10,
131140
str(cls.UBUNTU2204): cls.UBUNTU2204,
132141
"ubuntu-jammy": cls.UBUNTU2204,
133142
"jammy": cls.UBUNTU2204,
@@ -146,6 +155,7 @@ class DefaultImage(StrEnum):
146155
CENTOS8 = "quay.io/centos/centos:stream8"
147156
CENTOS9 = "quay.io/centos/centos:stream9"
148157
FEDORA41 = "registry.fedoraproject.org/fedora:41"
158+
ROCKY10 = "docker.io/rockylinux/rockylinux:10"
149159
UBUNTU2204 = "docker.io/ubuntu:22.04"
150160
UBUNTU2404 = "docker.io/ubuntu:24.04"
151161

0 commit comments

Comments
 (0)