From b7bae3850ba75fe46b7f604985fdb87a6fd7494a Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Wed, 12 Nov 2025 21:31:19 +0100 Subject: [PATCH] :bug: Fix webp exportation on exporter docker image (#7739) --- CHANGES.md | 4 ++++ docker/images/Dockerfile.exporter | 21 +++++++++++++++++++-- 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index bf041c7ece..268488e398 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,9 @@ # CHANGELOG +## 2.11.1 (Unreleased) + +- Fix WEBP shape export on docker images [Taiga #3838](https://tree.taiga.io/project/penpot/issue/3838) + ## 2.11.0 ### :boom: Breaking changes & Deprecations diff --git a/docker/images/Dockerfile.exporter b/docker/images/Dockerfile.exporter index c0d355fe8a..98c7b0e5c0 100644 --- a/docker/images/Dockerfile.exporter +++ b/docker/images/Dockerfile.exporter @@ -5,7 +5,7 @@ ENV LANG=en_US.UTF-8 \ LC_ALL=en_US.UTF-8 \ NODE_VERSION=v22.21.1 \ DEBIAN_FRONTEND=noninteractive \ - PATH=/opt/node/bin:$PATH + PATH=/opt/node/bin:/opt/imagick/bin:$PATH RUN set -ex; \ useradd -U -M -u 1001 -s /bin/false -d /opt/penpot penpot; \ @@ -62,6 +62,22 @@ RUN set -ex; \ libxfixes3 \ libxkbcommon0 \ libxrandr2 \ + \ + libgomp1 \ + libheif1 \ + libjpeg-turbo8 \ + liblcms2-2 \ + libopenexr-3-1-30 \ + libopenjp2-7 \ + libpng16-16 \ + librsvg2-2 \ + libtiff6 \ + libwebp7 \ + libwebpdemux2 \ + libwebpmux3 \ + libxml2 \ + libzip4t64 \ + libzstd1 \ ; \ rm -rf /var/lib/apt/lists/*; @@ -90,7 +106,8 @@ RUN set -eux; \ chown -R penpot:penpot /opt/penpot; ARG BUNDLE_PATH="./bundle-exporter/" -ADD --chown=penpot:penpot $BUNDLE_PATH /opt/penpot/exporter/ +COPY --chown=penpot:penpot $BUNDLE_PATH /opt/penpot/exporter/ +COPY --from=penpotapp/imagemagick:7.1.2-0 /opt/imagick /opt/imagick WORKDIR /opt/penpot/exporter USER penpot:penpot