fix error when build mariadb backup docker image
When build backup image, we use mariadb_repo_setup to set repository, but it can't be download from current url. This patch will fix this error. Change-Id: I0610afe31fcbfe3732f95cc78eeccc2a67ebc456
This commit is contained in:
parent
d702a30db4
commit
2aff55714b
@ -92,7 +92,7 @@ elif [ "${OPT_DATASTORE}" = "mariadb" ]; then
|
||||
# See the url below about the supported version.
|
||||
# https://mariadb.com/docs/xpand/ref/repo/cli/mariadb_repo_setup/mariadb-server-version/
|
||||
apt-key adv --fetch-keys 'https://mariadb.org/mariadb_release_signing_key.asc'
|
||||
if $(curl -LsS -O https://downloads.mariadb.com/MariaDB/mariadb_repo_setup); then
|
||||
if $(curl -LsS -O https://r.mariadb.com/downloads/mariadb_repo_setup); then
|
||||
if [ -f "./mariadb_repo_setup" ]; then
|
||||
chmod u+x "./mariadb_repo_setup"
|
||||
if $(./mariadb_repo_setup --mariadb-server-version=${OPT_DATASTORE_VERSION}); then
|
||||
|
Loading…
Reference in New Issue
Block a user