Docker: Update install-libheif.sh and install-mariadb.sh scripts #4631

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer 2024-11-18 11:58:25 +01:00
parent 6c820537ad
commit 3aaf6c26f4
2 changed files with 4 additions and 1 deletions

View file

@ -60,6 +60,9 @@ case $VERSION_CODENAME in
vera | virginia)
VERSION_CODENAME=jammy
;;
oracular)
VERSION_CODENAME=noble
;;
esac
echo "Installing libheif..."

View file

@ -24,7 +24,7 @@ fi
DESTARCH=${BUILD_ARCH:-$SYSTEM_ARCH}
if [[ $DESTARCH == "armv7l" || $DESTARCH == "arm" ]]; then
if [[ $VERSION_CODENAME == "oracular" || $DESTARCH == "armv7l" || $DESTARCH == "arm" ]]; then
echo "Installing MariaDB distribution packages for ${DESTARCH^^}..."
else
MARIADB_VERSION="11.rolling"