Skip to content

Commit d9db4ae

Browse files
committed
Add Rocky Linux 10
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
1 parent cba6f9a commit d9db4ae

1 file changed

Lines changed: 15 additions & 1 deletion

File tree

docker-bake.hcl

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ variable "DISTROS" {
4040
"rhel9",
4141
"rhel10",
4242
"rockylinux8",
43-
"rockylinux9"
43+
"rockylinux9",
44+
"rockylinux10"
4445
]
4546
}
4647

@@ -461,6 +462,18 @@ target "_distro-rockylinux9" {
461462
}
462463
}
463464

465+
target "_distro-rockylinux10" {
466+
args = {
467+
DISTRO_NAME = "rockylinux10"
468+
DISTRO_TYPE = "rpm"
469+
DISTRO_RELEASE = "rockylinux"
470+
DISTRO_ID = "10"
471+
DISTRO_SUITE = "10"
472+
DISTRO_IMAGE = DISTRO_IMAGE != null && DISTRO_IMAGE != "" ? DISTRO_IMAGE : "rockylinux/rockylinux:10"
473+
TEST_ONLY = "1"
474+
}
475+
}
476+
464477
# Returns the list of supported platforms for a given distro and package.
465478
# The result is the intersection of the platforms supported by the distro
466479
# and the platforms supported by the package. Except for static distro,
@@ -497,6 +510,7 @@ function "distroPlatforms" {
497510
rhel10 = ["linux/amd64", "linux/arm64", "linux/ppc64le", "linux/s390x"]
498511
rockylinux8 = ["linux/amd64", "linux/arm64"]
499512
rockylinux9 = ["linux/amd64", "linux/arm64"]
513+
rockylinux10 = ["linux/amd64", "linux/arm64"]
500514
}, distro, []),
501515
pkgPlatforms(pkg)
502516
),

0 commit comments

Comments
 (0)