Skip to content

Commit

Permalink
ci_images: galera for centos-stream fix
Browse files Browse the repository at this point in the history
  • Loading branch information
grooverdan committed Jul 23, 2024
1 parent ace8faa commit 1dcfb49
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions ci_build_images/centos.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,14 @@ RUN dnf -y install 'dnf-command(config-manager)' \
;& \
"almalinux") \
if [ "$ARCH" == "aarch64" ]; then ID=rhel; fi ; \
;; \
;& \
*) \
# VERSION_ID has leading -, except on centos-stream
VERSION_ID=-${VERSION_ID}; \
esac \
&& VERSION_ID=${VERSION_ID%%.*} \
&& if [ $ARCH = x86_64 ]; then ARCH=amd64 ; fi \
&& dnf config-manager --add-repo https://ci.mariadb.org/galera/mariadb-4.x-latest-gal-${ARCH}-${ID}-${VERSION_ID}.repo \
&& dnf config-manager --add-repo https://ci.mariadb.org/galera/mariadb-4.x-latest-gal-${ARCH}-${ID}${VERSION_ID}.repo \
&& dnf -y upgrade \
&& dnf -y groupinstall "Development Tools" \
&& dnf -y builddep mariadb-server \
Expand Down

0 comments on commit 1dcfb49

Please sign in to comment.