diff --git a/Dockerfile b/Dockerfile index 84c416d..1d79f65 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,10 +22,42 @@ RUN set -eux; \ xfonts-75dpi xfonts-base libjpeg62-turbo \ libonig-dev optipng pngquant inkscape; \ \ - apt-get install -y libavif-dev libheif-dev optipng pngquant chromium chromium-sandbox; \ + apt-get install -y optipng pngquant chromium chromium-sandbox; \ docker-php-ext-configure pcntl --enable-pcntl; \ docker-php-ext-install pcntl intl mbstring mysqli bcmath bz2 soap xsl pdo pdo_mysql fileinfo exif zip opcache sockets; \ \ + git clone https://aomedia.googlesource.com/aom; \ + mkdir aom-build; \ + cmake -S aom/ -B aom-build/; \ + cd aom-build; \ + make --jobs=$(nproc); \ + make install; \ + ldconfig /usr/local/lib; \ + cd ..; \ + rm -Rf aom; \ + rm -Rf aom-build; \ + \ + git clone https://github.com/AOMediaCodec/libavif.git; \ + mkdir libavif-build; \ + cmake -S libavif/ -B libavif-build/; \ + cd libavif-build; \ + make --jobs=$(nproc); \ + make install; \ + ldconfig /usr/local/lib; \ + cd ..; \ + rm -Rf libavif; \ + rm -Rf libavif-build; \ + \ + git clone https://github.com/strukturag/libheif.git; \ + cd libheif; \ + ./autogen.sh; \ + ./configure; \ + make --jobs=$(nproc); \ + make install; \ + ldconfig /usr/local/lib; \ + cd ..; \ + rm -Rf libheif; \ + \ wget https://imagemagick.org/archive/ImageMagick.tar.gz; \ tar -xvf ImageMagick.tar.gz; \ cd ImageMagick-7.*; \