Skip to content

Commit

Permalink
V2.7.2 - MariaDB failing to install (#328)
Browse files Browse the repository at this point in the history
* fix wrong MariaDB binary url

* fix wrong MariaDB binary url
  • Loading branch information
mayushko26 authored Nov 15, 2023
1 parent b44f1fd commit 6bbbc46
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions docker/script/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,15 @@ dnf install -y java-17-amazon-corretto
sudo mkdir mariadb_rpm
sudo chown airflow /mariadb_rpm

wget https://mirror.mariadb.org/yum/11.1.2/fedora38-amd64/rpms/MariaDB-common-11.1.2-1.fc38.$(uname -p).rpm -P /mariadb_rpm
wget https://mirror.mariadb.org/yum/11.1.2/fedora38-amd64/rpms/MariaDB-shared-11.1.2-1.fc38.$(uname -p).rpm -P /mariadb_rpm
wget https://mirror.mariadb.org/yum/11.1.2/fedora38-amd64/rpms/MariaDB-devel-11.1.2-1.fc38.$(uname -p).rpm -P /mariadb_rpm
if [[ $(uname -p) == "aarch64" ]]; then
wget https://mirror.mariadb.org/yum/11.1/fedora38-aarch64/rpms/MariaDB-common-11.1.2-1.fc38.$(uname -p).rpm -P /mariadb_rpm
wget https://mirror.mariadb.org/yum/11.1/fedora38-aarch64/rpms/MariaDB-shared-11.1.2-1.fc38.$(uname -p).rpm -P /mariadb_rpm
wget https://mirror.mariadb.org/yum/11.1/fedora38-aarch64/rpms/MariaDB-devel-11.1.2-1.fc38.$(uname -p).rpm -P /mariadb_rpm
else
wget https://mirror.mariadb.org/yum/11.1/fedora38-amd64/rpms/MariaDB-common-11.1.2-1.fc38.$(uname -p).rpm -P /mariadb_rpm
wget https://mirror.mariadb.org/yum/11.1/fedora38-amd64/rpms/MariaDB-shared-11.1.2-1.fc38.$(uname -p).rpm -P /mariadb_rpm
wget https://mirror.mariadb.org/yum/11.1/fedora38-amd64/rpms/MariaDB-devel-11.1.2-1.fc38.$(uname -p).rpm -P /mariadb_rpm
fi

# install mariadb_devel and its dependencies
sudo rpm -ivh /mariadb_rpm/*
Expand Down

0 comments on commit 6bbbc46

Please sign in to comment.