diff --git a/posit-bakery/posit_bakery/config/image/build_os.py b/posit-bakery/posit_bakery/config/image/build_os.py index 78479330..245ee44a 100644 --- a/posit-bakery/posit_bakery/config/image/build_os.py +++ b/posit-bakery/posit_bakery/config/image/build_os.py @@ -49,6 +49,7 @@ def packageVersionSeparator(self) -> str: "red hat": "rhel", "rh": "rhel", "el": "rhel", + "ubi": "rhel", "almalinux": "alma", "alma linux": "alma", "rockylinux": "rocky", diff --git a/posit-bakery/test/config/image/test_version_os.py b/posit-bakery/test/config/image/test_version_os.py index d9ba4e10..4911a0ed 100644 --- a/posit-bakery/test/config/image/test_version_os.py +++ b/posit-bakery/test/config/image/test_version_os.py @@ -140,6 +140,8 @@ def test_equality(self): ("RHEL", SUPPORTED_OS["rhel"]["10"]), ("RH 9", SUPPORTED_OS["rhel"]["9"]), ("EL8", SUPPORTED_OS["rhel"]["8"]), + ("UBI 10", SUPPORTED_OS["rhel"]["10"]), + ("UBI", SUPPORTED_OS["rhel"]["10"]), ("Alma 9", SUPPORTED_OS["alma"]["9"]), ("AlmaLinux 8", SUPPORTED_OS["alma"]["8"]), ("Alma Linux", SUPPORTED_OS["alma"]["10"]),