mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
🐛 Fix webp exportation on exporter docker image (#7739)
This commit is contained in:
@@ -1,5 +1,9 @@
|
|||||||
# CHANGELOG
|
# 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
|
## 2.11.0
|
||||||
|
|
||||||
### :boom: Breaking changes & Deprecations
|
### :boom: Breaking changes & Deprecations
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ ENV LANG=en_US.UTF-8 \
|
|||||||
LC_ALL=en_US.UTF-8 \
|
LC_ALL=en_US.UTF-8 \
|
||||||
NODE_VERSION=v22.21.1 \
|
NODE_VERSION=v22.21.1 \
|
||||||
DEBIAN_FRONTEND=noninteractive \
|
DEBIAN_FRONTEND=noninteractive \
|
||||||
PATH=/opt/node/bin:$PATH
|
PATH=/opt/node/bin:/opt/imagick/bin:$PATH
|
||||||
|
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
useradd -U -M -u 1001 -s /bin/false -d /opt/penpot penpot; \
|
useradd -U -M -u 1001 -s /bin/false -d /opt/penpot penpot; \
|
||||||
@@ -62,6 +62,22 @@ RUN set -ex; \
|
|||||||
libxfixes3 \
|
libxfixes3 \
|
||||||
libxkbcommon0 \
|
libxkbcommon0 \
|
||||||
libxrandr2 \
|
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/*;
|
rm -rf /var/lib/apt/lists/*;
|
||||||
|
|
||||||
@@ -90,7 +106,8 @@ RUN set -eux; \
|
|||||||
chown -R penpot:penpot /opt/penpot;
|
chown -R penpot:penpot /opt/penpot;
|
||||||
|
|
||||||
ARG BUNDLE_PATH="./bundle-exporter/"
|
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
|
WORKDIR /opt/penpot/exporter
|
||||||
USER penpot:penpot
|
USER penpot:penpot
|
||||||
|
|||||||
Reference in New Issue
Block a user