MariaDB: Upgrade pre-installed client from v10.6 to v10.9

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer 2022-11-17 08:56:11 +01:00
parent 00ccf77cd5
commit a5d901db79
3 changed files with 5 additions and 3 deletions

View file

@ -45,12 +45,13 @@ RUN echo 'APT::Acquire::Retries "3";' > /etc/apt/apt.conf.d/80retries && \
apt-get -qq install \
libc6 ca-certificates sudo bash tzdata avahi-utils \
gpg zip unzip wget curl rsync make nano \
jq lsof lshw sqlite3 mariadb-client imagemagick \
jq lsof lshw sqlite3 imagemagick \
exiftool rawtherapee librsvg2-bin \
ffmpeg ffmpegthumbnailer libavcodec-extra \
libmatroska7 libdvdread8 libebml5 libgav1-bin libatomic1 \
x264 x265 libde265-dev libaom3 libjpeg8 libvpx7 libwebm1 \
&& \
/scripts/install-mariadb.sh mariadb-client && \
/scripts/install-darktable.sh && \
/scripts/install-libheif.sh && \
echo 'alias ll="ls -alh"' >> /etc/skel/.bashrc && \

View file

@ -51,7 +51,7 @@ RUN echo 'APT::Acquire::Retries "3";' > /etc/apt/apt.conf.d/80retries && \
apt-get -qq install \
libc6 ca-certificates sudo bash tzdata avahi-utils \
gpg zip unzip wget curl rsync make nano \
jq lsof lshw sqlite3 mariadb-client imagemagick \
jq lsof lshw sqlite3 imagemagick \
exiftool rawtherapee librsvg2-bin \
ffmpeg ffmpegthumbnailer libavcodec-extra \
libmatroska7 libdvdread8 libebml5 libgav1-bin libatomic1 \
@ -66,6 +66,7 @@ RUN echo 'APT::Acquire::Retries "3";' > /etc/apt/apt.conf.d/80retries && \
libfreetype6 libfreetype6-dev libfontconfig1 libfontconfig1-dev fonts-roboto \
&& \
/scripts/install-nodejs.sh && \
/scripts/install-mariadb.sh mariadb-client && \
/scripts/install-tensorflow.sh && \
/scripts/install-darktable.sh && \
/scripts/install-libheif.sh && \

View file

@ -22,7 +22,7 @@ SETUP_URL="https://downloads.mariadb.com/MariaDB/mariadb_repo_setup"
if [ ! -f "/etc/apt/sources.list.d/mariadb.list" ]; then
echo "Adding MariaDB packages sources from \"$SETUP_URL\"..."
curl -Ls $SETUP_URL | bash -s -- --mariadb-server-version="mariadb-10.6"
curl -Ls $SETUP_URL | bash -s -- --mariadb-server-version="mariadb-10.9"
fi
echo "Installing \"$1\"..."