From ebcdf9b0bced3ab7a0bf35323ebbd339af64af17 Mon Sep 17 00:00:00 2001 From: Nick Vance Date: Sat, 10 Jan 2026 21:28:04 -0800 Subject: [PATCH 1/2] Add Qt image plugins for AVIF, JXL, and HEIC/HEIF support in Docker - Add multi-stage Docker build with 7 optimized stages - Build and install Qt image plugins: qt-avif-image-plugin, qt-jpegxl-image-plugin, qt-heic-image-plugin - Build libjxl 0.10.2 from source (required version not in Ubuntu noble) - Use system packages for AVIF (libavif16) and HEIC (libheif1) - No YACReader source code changes - uses Qt's dynamic plugin loading - Improves build caching and reduces rebuild times Enables support for modern image formats without code modifications, following YACReader's Qt plugin architecture as suggested in #498 --- docker/Dockerfile | 333 +++++++++++++++++++++++++++++++++++----------- 1 file changed, 253 insertions(+), 80 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 12c5ed4b5..fa8f6e600 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,115 +1,288 @@ -FROM ghcr.io/linuxserver/baseimage-ubuntu:noble AS builder +# ============================================================================ +# Stage 1: 7zip builder +# ============================================================================ +FROM ghcr.io/linuxserver/baseimage-ubuntu:noble AS sevenzip-builder -# version, it can be a TAG or a branch -ARG YACR_VERSION="develop" +ARG DEBIAN_FRONTEND="noninteractive" + +# Install minimal build packages for 7z compilation +RUN apt-get update && \ + apt-get install -y --no-install-recommends \ + build-essential \ + gcc \ + g++ \ + make \ + unzip \ + wget \ + 7zip && \ + apt-get clean && \ + rm -rf /var/lib/apt/lists/* + +# Download and extract 7z source +RUN mkdir -p /src/7zip && \ + cd /src/7zip && \ + wget "https://github.com/YACReader/yacreader-7z-deps/blob/main/7z2301-src.7z?raw=true" -O 7z2301-src.7z && \ + 7z x 7z2301-src.7z -o/src/7zip/lib7zip && \ + rm 7z2301-src.7z + +# Build 7z.so with RAR support +RUN cd "/src/7zip/lib7zip/CPP/7zip/Bundles/Format7zF" && \ + make -f makefile.gcc -j$(nproc) && \ + mkdir -p /app/lib/7zip && \ + cp ./_o/7z.so /app/lib/7zip + +# ============================================================================ +# Stage 2: HEIC/HEIF plugin builder +# ============================================================================ +FROM ghcr.io/linuxserver/baseimage-ubuntu:noble AS heic-plugin-builder + +ARG DEBIAN_FRONTEND="noninteractive" + +RUN apt-get update && \ + apt-get install -y --no-install-recommends \ + build-essential \ + cmake \ + git \ + qt6-base-dev \ + qt6-base-private-dev \ + libheif-dev \ + extra-cmake-modules \ + pkg-config && \ + apt-get clean && \ + rm -rf /var/lib/apt/lists/* + +WORKDIR /tmp/qt-heic +RUN git clone https://github.com/novomesk/qt-heic-image-plugin.git . && \ + mkdir build && cd build && \ + cmake .. \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DQT_MAJOR_VERSION=6 && \ + make -j$(nproc) && \ + make install DESTDIR=/output + +# ============================================================================ +# Stage 3: libjxl builder (0.10.2 required for JxlEncoderDistanceFromQuality) +# ============================================================================ +FROM ghcr.io/linuxserver/baseimage-ubuntu:noble AS libjxl-builder + +ARG DEBIAN_FRONTEND="noninteractive" + +RUN apt-get update && \ + apt-get install -y --no-install-recommends \ + build-essential \ + cmake \ + git \ + pkg-config && \ + apt-get clean && \ + rm -rf /var/lib/apt/lists/* + +WORKDIR /tmp/libjxl +RUN git clone --depth 1 --branch v0.10.2 https://github.com/libjxl/libjxl.git . && \ + ./deps.sh && \ + mkdir build && cd build && \ + cmake .. \ + -DCMAKE_BUILD_TYPE=Release \ + -DBUILD_TESTING=OFF \ + -DJPEGXL_ENABLE_BENCHMARK=OFF \ + -DJPEGXL_ENABLE_EXAMPLES=OFF \ + -DJPEGXL_ENABLE_MANPAGES=OFF \ + -DJPEGXL_ENABLE_PLUGINS=OFF \ + -DJPEGXL_ENABLE_TOOLS=OFF \ + -DCMAKE_INSTALL_PREFIX=/usr && \ + make -j$(nproc) && \ + make install DESTDIR=/output + +# ============================================================================ +# Stage 4: JXL plugin builder (depends on libjxl 0.10.2) +# ============================================================================ +FROM ghcr.io/linuxserver/baseimage-ubuntu:noble AS jxl-plugin-builder + +ARG DEBIAN_FRONTEND="noninteractive" + +RUN apt-get update && \ + apt-get install -y --no-install-recommends \ + build-essential \ + cmake \ + git \ + qt6-base-dev \ + qt6-base-private-dev \ + extra-cmake-modules \ + pkg-config && \ + apt-get clean && \ + rm -rf /var/lib/apt/lists/* + +# Copy libjxl 0.10.2 from previous stage +COPY --from=libjxl-builder /output/usr /usr + +WORKDIR /tmp/qt-jxl +RUN git clone https://github.com/novomesk/qt-jpegxl-image-plugin.git . && \ + mkdir build && cd build && \ + cmake .. \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DQT_MAJOR_VERSION=6 && \ + make -j$(nproc) && \ + make install DESTDIR=/output + +# ============================================================================ +# Stage 5: AVIF plugin builder +# ============================================================================ +FROM ghcr.io/linuxserver/baseimage-ubuntu:noble AS avif-plugin-builder -# env variables +ARG DEBIAN_FRONTEND="noninteractive" + +RUN apt-get update && \ + apt-get install -y --no-install-recommends \ + build-essential \ + cmake \ + git \ + qt6-base-dev \ + qt6-base-private-dev \ + libavif-dev \ + extra-cmake-modules \ + pkg-config && \ + apt-get clean && \ + rm -rf /var/lib/apt/lists/* + +WORKDIR /tmp/qt-avif +RUN git clone https://github.com/novomesk/qt-avif-image-plugin.git . && \ + mkdir build && cd build && \ + cmake .. \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DQT_MAJOR_VERSION=6 && \ + make -j$(nproc) && \ + make install DESTDIR=/output + +# ============================================================================ +# Stage 6: YACReader builder +# ============================================================================ +FROM ghcr.io/linuxserver/baseimage-ubuntu:noble AS yacreader-builder + +ARG YACR_VERSION="develop" ARG DEBIAN_FRONTEND="noninteractive" ENV APPNAME="YACReaderLibraryServer" ENV HOME="/config" LABEL maintainer="luisangelsm" -# install build packages -RUN \ - apt-get update && \ +# Install build packages +RUN apt-get update && \ apt-get install -y --no-install-recommends \ - build-essential \ - desktop-file-utils \ - gcc \ - g++ \ - git \ - qt6-tools-dev \ - qt6-base-dev-tools \ - qmake6 \ - qmake6-bin \ - qt6-base-dev \ - qt6-multimedia-dev \ - qt6-tools-dev-tools \ - libgl-dev \ - qt6-l10n-tools \ - libqt6opengl6-dev \ - libunarr-dev \ - qt6-declarative-dev \ - libqt6svg6-dev \ - libqt6core5compat6-dev \ - libbz2-dev \ - libglu1-mesa-dev \ - liblzma-dev \ - libqt6gui6 \ - libqt6multimedia6 \ - libqt6network6 \ - libqt6qml6 \ - libqt6quickcontrols2-6 \ - qt6-image-formats-plugins \ - libqt6sql6 \ - libqt6sql6-sqlite \ - make \ - sqlite3 \ - libsqlite3-dev \ - unzip \ - wget \ - 7zip \ - 7zip-rar \ - libpoppler-qt6-dev \ - zlib1g-dev && \ + build-essential \ + desktop-file-utils \ + gcc \ + g++ \ + git \ + cmake \ + qt6-tools-dev \ + qt6-base-dev-tools \ + qmake6 \ + qmake6-bin \ + qt6-base-dev \ + qt6-multimedia-dev \ + qt6-tools-dev-tools \ + libgl-dev \ + qt6-l10n-tools \ + libqt6opengl6-dev \ + libunarr-dev \ + qt6-declarative-dev \ + libqt6svg6-dev \ + libqt6core5compat6-dev \ + libbz2-dev \ + libglu1-mesa-dev \ + liblzma-dev \ + libqt6gui6 \ + libqt6multimedia6 \ + libqt6network6 \ + libqt6qml6 \ + libqt6quickcontrols2-6 \ + qt6-image-formats-plugins \ + libqt6sql6 \ + libqt6sql6-sqlite \ + make \ + sqlite3 \ + libsqlite3-dev \ + unzip \ + wget \ + libavif-dev \ + 7zip \ + 7zip-rar \ + libpoppler-qt6-dev \ + zlib1g-dev && \ + apt-get clean && \ + rm -rf /var/lib/apt/lists/* && \ ldconfig - -# clone YACReader repo +# Clone YACReader repository RUN git clone https://github.com/YACReader/yacreader.git /src/git && \ cd /src/git && \ git checkout $YACR_VERSION -# get 7zip source -RUN cd /src/git/compressed_archive && \ - wget "https://github.com/YACReader/yacreader-7z-deps/blob/main/7z2301-src.7z?raw=true" -O /src/git/compressed_archive/7z2301-src.7z && \ - 7z x /src/git/compressed_archive/7z2301-src.7z -o/src/git/compressed_archive/lib7zip +# Copy pre-built 7z library and headers +COPY --from=sevenzip-builder /src/7zip/lib7zip /src/git/compressed_archive/lib7zip +COPY --from=sevenzip-builder /app/lib/7zip /app/lib/7zip + +# Copy Qt image format plugins from separate stages +COPY --from=avif-plugin-builder /output/usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/ \ + /usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/ +COPY --from=jxl-plugin-builder /output/usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/ \ + /usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/ +COPY --from=heic-plugin-builder /output/usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/ \ + /usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/ -# build yacreaderlibraryserver +# Build YACReaderLibraryServer RUN cd /src/git/YACReaderLibraryServer && \ qmake6 PREFIX=/app CONFIG+="7zip server_standalone" YACReaderLibraryServer.pro && \ qmake6 -v && \ - make && \ + make -j$(nproc) && \ make install -# install 7z.so with RAR support -RUN echo "Building and installing 7z.so with RAR support..." && \ - cd "/src/git/compressed_archive/lib7zip/CPP/7zip/Bundles/Format7zF" && \ - make -f makefile.gcc && \ - mkdir -p /app/lib/7zip && \ - cp ./_o/7z.so /app/lib/7zip - -# Stage 2: Runtime stage +# ============================================================================ +# Stage 7: Final runtime image (minimal, no build assets) +# ============================================================================ FROM ghcr.io/linuxserver/baseimage-ubuntu:noble -# env variables ENV APPNAME="YACReaderLibraryServer" ENV HOME="/config" +ENV LC_ALL="en_US.UTF-8" +ENV PATH="/app/bin:${PATH}" LABEL maintainer="luisangelsm" -# Copy the built application from the builder stage -COPY --from=builder /app /app - -# runtime packages +# Install only runtime dependencies (no build tools) RUN apt-get update && \ apt-get install -y --no-install-recommends \ - libqt6core5compat6 \ - libpoppler-qt6-3t64 \ - qt6-image-formats-plugins \ - libqt6network6t64 \ - libqt6sql6-sqlite && \ + libqt6core5compat6 \ + libpoppler-qt6-3t64 \ + qt6-image-formats-plugins \ + libqt6network6t64 \ + libqt6sql6-sqlite \ + libavif16 \ + libheif1 && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* -# set ENV -ENV LC_ALL="en_US.UTF-8" \ - PATH="/app/bin:${PATH}" +# Copy YACReaderLibraryServer application from builder +COPY --from=yacreader-builder /app /app + +# Copy Qt image format plugins from plugin builders +COPY --from=avif-plugin-builder /output/usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/ \ + /usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/ +COPY --from=jxl-plugin-builder /output/usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/ \ + /usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/ +COPY --from=heic-plugin-builder /output/usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/ \ + /usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/ + +# Copy libjxl 0.10.2 runtime libraries (not available in Ubuntu noble) +COPY --from=libjxl-builder /output/usr/lib/ /usr/lib/ + +# Refresh dynamic linker cache +RUN ldconfig -# copy files -COPY root.tar.gz / -# Extract the contents of root.tar.gz into the / directory -RUN tar -xvpzf /root.tar.gz -C / +# Copy linuxserver.io configuration +COPY docker/root.tar.gz / +RUN tar -xvpzf /root.tar.gz -C / && rm /root.tar.gz -# ports and volumes +# Expose server port and define volumes EXPOSE 8080 VOLUME ["/config", "/comics"] From b12ace08aa45e6253befe38d3875eee621e663bd Mon Sep 17 00:00:00 2001 From: Nick Vance Date: Sat, 10 Jan 2026 21:42:23 -0800 Subject: [PATCH 2/2] additional dockerfile optimizations for speed and caching --- docker/Dockerfile | 198 ++++++++++++++++++---------------------------- 1 file changed, 76 insertions(+), 122 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index fa8f6e600..a8b1379c3 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,87 +1,86 @@ # ============================================================================ -# Stage 1: 7zip builder +# Stage 0: Common base, defined here like a constant for multiple subsequent stages # ============================================================================ -FROM ghcr.io/linuxserver/baseimage-ubuntu:noble AS sevenzip-builder +FROM ghcr.io/linuxserver/baseimage-ubuntu:noble AS base + +# ============================================================================ +# Stage 1: build-base for all build steps +# ============================================================================ +FROM base AS plugin-base ARG DEBIAN_FRONTEND="noninteractive" -# Install minimal build packages for 7z compilation +# Install common build packages used by all plugin builders RUN apt-get update && \ apt-get install -y --no-install-recommends \ + 7zip \ build-essential \ - gcc \ + cmake \ + extra-cmake-modules \ g++ \ + gcc \ + git \ + libavif-dev \ + libheif-dev \ make \ + qt6-base-dev \ + qt6-base-private-dev \ unzip \ wget \ - 7zip && \ + pkg-config && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* -# Download and extract 7z source -RUN mkdir -p /src/7zip && \ - cd /src/7zip && \ - wget "https://github.com/YACReader/yacreader-7z-deps/blob/main/7z2301-src.7z?raw=true" -O 7z2301-src.7z && \ - 7z x 7z2301-src.7z -o/src/7zip/lib7zip && \ +# ============================================================================ +# Stage 2: 7zip builder +# ============================================================================ +FROM plugin-base AS sevenzip-builder + +# Download 7z source +RUN mkdir -p /src/7zip +WORKDIR /src/7zip +RUN wget "https://github.com/YACReader/yacreader-7z-deps/blob/main/7z2301-src.7z?raw=true" -O 7z2301-src.7z + +# Extract 7z source +RUN 7z x 7z2301-src.7z -o/src/7zip/lib7zip && \ rm 7z2301-src.7z # Build 7z.so with RAR support -RUN cd "/src/7zip/lib7zip/CPP/7zip/Bundles/Format7zF" && \ - make -f makefile.gcc -j$(nproc) && \ - mkdir -p /app/lib/7zip && \ +WORKDIR /src/7zip/lib7zip/CPP/7zip/Bundles/Format7zF +RUN mkdir -p _o +RUN make -f makefile.gcc -j$(nproc) +RUN mkdir -p /app/lib/7zip && \ cp ./_o/7z.so /app/lib/7zip # ============================================================================ -# Stage 2: HEIC/HEIF plugin builder +# Stage 3: HEIC/HEIF plugin builder # ============================================================================ -FROM ghcr.io/linuxserver/baseimage-ubuntu:noble AS heic-plugin-builder - -ARG DEBIAN_FRONTEND="noninteractive" - -RUN apt-get update && \ - apt-get install -y --no-install-recommends \ - build-essential \ - cmake \ - git \ - qt6-base-dev \ - qt6-base-private-dev \ - libheif-dev \ - extra-cmake-modules \ - pkg-config && \ - apt-get clean && \ - rm -rf /var/lib/apt/lists/* +FROM plugin-base AS heic-plugin-builder WORKDIR /tmp/qt-heic -RUN git clone https://github.com/novomesk/qt-heic-image-plugin.git . && \ - mkdir build && cd build && \ - cmake .. \ +RUN git clone https://github.com/novomesk/qt-heic-image-plugin.git . +RUN mkdir build +WORKDIR /tmp/qt-heic/build +RUN cmake .. \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DQT_MAJOR_VERSION=6 && \ - make -j$(nproc) && \ - make install DESTDIR=/output + -DQT_MAJOR_VERSION=6 +RUN make -j$(nproc) +RUN make install DESTDIR=/output # ============================================================================ -# Stage 3: libjxl builder (0.10.2 required for JxlEncoderDistanceFromQuality) +# Stage 4: libjxl + JXL plugin builder (merged) +# (0.10.2 required for JxlEncoderDistanceFromQuality) # ============================================================================ -FROM ghcr.io/linuxserver/baseimage-ubuntu:noble AS libjxl-builder - -ARG DEBIAN_FRONTEND="noninteractive" - -RUN apt-get update && \ - apt-get install -y --no-install-recommends \ - build-essential \ - cmake \ - git \ - pkg-config && \ - apt-get clean && \ - rm -rf /var/lib/apt/lists/* +FROM plugin-base AS jxl-plugin-builder +# Build libjxl 0.10.2 WORKDIR /tmp/libjxl -RUN git clone --depth 1 --branch v0.10.2 https://github.com/libjxl/libjxl.git . && \ - ./deps.sh && \ - mkdir build && cd build && \ - cmake .. \ +RUN git clone --depth 1 --branch v0.10.2 https://github.com/libjxl/libjxl.git . +RUN ./deps.sh +RUN mkdir build +WORKDIR /tmp/libjxl/build +RUN cmake .. \ -DCMAKE_BUILD_TYPE=Release \ -DBUILD_TESTING=OFF \ -DJPEGXL_ENABLE_BENCHMARK=OFF \ @@ -89,97 +88,57 @@ RUN git clone --depth 1 --branch v0.10.2 https://github.com/libjxl/libjxl.git . -DJPEGXL_ENABLE_MANPAGES=OFF \ -DJPEGXL_ENABLE_PLUGINS=OFF \ -DJPEGXL_ENABLE_TOOLS=OFF \ - -DCMAKE_INSTALL_PREFIX=/usr && \ - make -j$(nproc) && \ - make install DESTDIR=/output - -# ============================================================================ -# Stage 4: JXL plugin builder (depends on libjxl 0.10.2) -# ============================================================================ -FROM ghcr.io/linuxserver/baseimage-ubuntu:noble AS jxl-plugin-builder - -ARG DEBIAN_FRONTEND="noninteractive" - -RUN apt-get update && \ - apt-get install -y --no-install-recommends \ - build-essential \ - cmake \ - git \ - qt6-base-dev \ - qt6-base-private-dev \ - extra-cmake-modules \ - pkg-config && \ - apt-get clean && \ - rm -rf /var/lib/apt/lists/* - -# Copy libjxl 0.10.2 from previous stage -COPY --from=libjxl-builder /output/usr /usr + -DCMAKE_INSTALL_PREFIX=/usr +RUN make -j$(nproc) +RUN make install +RUN make install DESTDIR=/output +# Build JXL plugin WORKDIR /tmp/qt-jxl -RUN git clone https://github.com/novomesk/qt-jpegxl-image-plugin.git . && \ - mkdir build && cd build && \ - cmake .. \ +RUN git clone https://github.com/novomesk/qt-jpegxl-image-plugin.git . +RUN mkdir build +WORKDIR /tmp/qt-jxl/build +RUN cmake .. \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DQT_MAJOR_VERSION=6 && \ - make -j$(nproc) && \ - make install DESTDIR=/output + -DQT_MAJOR_VERSION=6 +RUN make -j$(nproc) +RUN make install DESTDIR=/output # ============================================================================ # Stage 5: AVIF plugin builder # ============================================================================ -FROM ghcr.io/linuxserver/baseimage-ubuntu:noble AS avif-plugin-builder - -ARG DEBIAN_FRONTEND="noninteractive" - -RUN apt-get update && \ - apt-get install -y --no-install-recommends \ - build-essential \ - cmake \ - git \ - qt6-base-dev \ - qt6-base-private-dev \ - libavif-dev \ - extra-cmake-modules \ - pkg-config && \ - apt-get clean && \ - rm -rf /var/lib/apt/lists/* +FROM plugin-base AS avif-plugin-builder WORKDIR /tmp/qt-avif -RUN git clone https://github.com/novomesk/qt-avif-image-plugin.git . && \ - mkdir build && cd build && \ - cmake .. \ +RUN git clone https://github.com/novomesk/qt-avif-image-plugin.git . +RUN mkdir build +WORKDIR /tmp/qt-avif/build +RUN cmake .. \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DQT_MAJOR_VERSION=6 && \ - make -j$(nproc) && \ - make install DESTDIR=/output + -DQT_MAJOR_VERSION=6 +RUN make -j$(nproc) +RUN make install DESTDIR=/output # ============================================================================ # Stage 6: YACReader builder # ============================================================================ -FROM ghcr.io/linuxserver/baseimage-ubuntu:noble AS yacreader-builder +FROM plugin-base AS yacreader-builder ARG YACR_VERSION="develop" -ARG DEBIAN_FRONTEND="noninteractive" ENV APPNAME="YACReaderLibraryServer" ENV HOME="/config" LABEL maintainer="luisangelsm" -# Install build packages +# Install YACReader-specific build packages (common packages inherited from plugin-base) RUN apt-get update && \ apt-get install -y --no-install-recommends \ - build-essential \ desktop-file-utils \ - gcc \ - g++ \ - git \ - cmake \ qt6-tools-dev \ qt6-base-dev-tools \ qmake6 \ qmake6-bin \ - qt6-base-dev \ qt6-multimedia-dev \ qt6-tools-dev-tools \ libgl-dev \ @@ -200,13 +159,8 @@ RUN apt-get update && \ qt6-image-formats-plugins \ libqt6sql6 \ libqt6sql6-sqlite \ - make \ sqlite3 \ libsqlite3-dev \ - unzip \ - wget \ - libavif-dev \ - 7zip \ 7zip-rar \ libpoppler-qt6-dev \ zlib1g-dev && \ @@ -241,7 +195,7 @@ RUN cd /src/git/YACReaderLibraryServer && \ # ============================================================================ # Stage 7: Final runtime image (minimal, no build assets) # ============================================================================ -FROM ghcr.io/linuxserver/baseimage-ubuntu:noble +FROM base AS runtime ENV APPNAME="YACReaderLibraryServer" ENV HOME="/config" @@ -274,7 +228,7 @@ COPY --from=heic-plugin-builder /output/usr/lib/x86_64-linux-gnu/qt6/plugins/ima /usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/ # Copy libjxl 0.10.2 runtime libraries (not available in Ubuntu noble) -COPY --from=libjxl-builder /output/usr/lib/ /usr/lib/ +COPY --from=jxl-plugin-builder /output/usr/lib/ /usr/lib/ # Refresh dynamic linker cache RUN ldconfig