mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00:00
try to make imagick work
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
a2cfa17b05
commit
810094daa3
2 changed files with 21 additions and 1 deletions
|
|
@ -200,6 +200,8 @@ RUN set -ex; \
|
||||||
grep \
|
grep \
|
||||||
coreutils \
|
coreutils \
|
||||||
gcompat \
|
gcompat \
|
||||||
|
libjpeg \
|
||||||
|
librsvg \
|
||||||
; \
|
; \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -60,7 +60,25 @@ if [ -n "$ADDITIONAL_PHP_EXTENSIONS" ]; then
|
||||||
# shellcheck disable=SC2086
|
# shellcheck disable=SC2086
|
||||||
if [ "$PHP_DEPS_ARE_INSTALLED" != 1 ]; then
|
if [ "$PHP_DEPS_ARE_INSTALLED" != 1 ]; then
|
||||||
echo "Installing PHP build dependencies..."
|
echo "Installing PHP build dependencies..."
|
||||||
if ! apk add --no-cache --virtual .build-deps libxml2-dev libwebp-dev gmp-dev libpng-dev libjpeg-turbo-dev libheif-dev freetype-dev fontconfig-dev imagemagick-dev autoconf $PHPIZE_DEPS >/dev/null; then
|
if ! apk add --no-cache --virtual .build-deps \
|
||||||
|
lcms2-dev \
|
||||||
|
libheif-dev \
|
||||||
|
librsvg-dev \
|
||||||
|
libxext-dev \
|
||||||
|
libxml2-dev \
|
||||||
|
lcms2-dev \
|
||||||
|
fontconfig-dev \
|
||||||
|
freetype-dev \
|
||||||
|
ghostscript-dev \
|
||||||
|
lcms2-dev \
|
||||||
|
libjpeg-turbo-dev \
|
||||||
|
libpng-dev \
|
||||||
|
libtool \
|
||||||
|
tiff-dev \
|
||||||
|
zlib-dev \
|
||||||
|
imagemagick-dev \
|
||||||
|
autoconf \
|
||||||
|
$PHPIZE_DEPS >/dev/null; then
|
||||||
echo "Could not install build-deps!"
|
echo "Could not install build-deps!"
|
||||||
fi
|
fi
|
||||||
PHP_DEPS_ARE_INSTALLED=1
|
PHP_DEPS_ARE_INSTALLED=1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue