Skip to content

Commit 9f11f33

Browse files
Fix centos-stream-9 container image build
I can't find why previous builds (January 2026) worked but now we need to enable the mariadb module. ``` bash-5.1# dnf module list mariadb CentOS Stream 9 - AppStream Name Stream Profiles Summary mariadb 10.11 client, galera, server [d] MariaDB Module mariadb 11.8 client, galera, server [d] MariaDB Module ``` ``` dnf module enable mariadb:11.8 -y bash-5.1# dnf repoquery --source mariadb-server mariadb-11.8.5-1.module_el9+1304+6dbdc612.src.rpm ```
1 parent 4f61aaf commit 9f11f33

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

ci_build_images/centos.Dockerfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,11 @@ RUN dnf -y install 'dnf-command(config-manager)' \
3232
esac \
3333
&& case "$ID" in \
3434
"centos") \
35-
ID=centos-stream; \
36-
;; \
35+
ID=centos-stream; \
36+
if [ "$VERSION_ID" = "9" ]; then \
37+
dnf module enable mariadb -y; \
38+
fi; \
39+
;; \
3740
"openEuler") \
3841
ID=openeuler; \
3942
# VERSION_ID has leading -, except on centos-stream

0 commit comments

Comments
 (0)