docker: update base image dependencies.

* Update base Ubuntu image from 22.04 to 22.10.
* Update FFmpeg from 4.4.1 to 5.1.2
* Update MozJPEG from 4.0.3 to 4.1.1.
* Update ExifTool from 12.30 to 12.42.

The FFmpeg upgrade is necessary for .avif file support. Older versions
of ffprobe don't handle .avif files correctly. It either returns an
error, or in certain cases it can interpret a static .avif image as a
video (since .avif files are basically .mp4 files in disguise).
This commit is contained in:
evazion
2022-10-24 19:58:24 -05:00
parent 5b19e544cf
commit 420ff2f2f5
2 changed files with 5 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
FROM ubuntu:22.04 AS base
FROM ubuntu:22.10 AS base
WORKDIR /danbooru
ENV PATH="/root/.asdf/bin:/root/.asdf/shims:$PATH:/usr/lib/postgresql/14/bin"

View File

@@ -3,10 +3,10 @@
set -xeuo pipefail
RUBY_VERSION="${RUBY_VERSION:-3.1.2}"
VIPS_VERSION="${VIPS_VERSION:-8.12.1}"
FFMPEG_VERSION="${FFMPEG_VERSION:-4.4.1}"
MOZJPEG_VERSION="${MOZJPEG_VERSION:-4.0.3}"
EXIFTOOL_VERSION="${EXIFTOOL_VERSION:-12.30}"
VIPS_VERSION="${VIPS_VERSION:-8.13.2}"
FFMPEG_VERSION="${FFMPEG_VERSION:-5.1.2}"
MOZJPEG_VERSION="${MOZJPEG_VERSION:-4.1.1}"
EXIFTOOL_VERSION="${EXIFTOOL_VERSION:-12.42}"
OPENRESTY_VERSION="${OPENRESTY_VERSION:-1.19.9.1}"
POSTGRESQL_CLIENT_VERSION="${POSTGRESQL_CLIENT_VERSION:-14}"