mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 06:26:57 +00:00
fix imagick not having svg support
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
44dd15d093
commit
1d70c439b7
2 changed files with 3 additions and 1 deletions
|
|
@ -38,6 +38,7 @@ RUN set -ex; \
|
||||||
gmp-dev \
|
gmp-dev \
|
||||||
icu-dev \
|
icu-dev \
|
||||||
imagemagick-dev \
|
imagemagick-dev \
|
||||||
|
imagemagick-svg \
|
||||||
libevent-dev \
|
libevent-dev \
|
||||||
libjpeg-turbo-dev \
|
libjpeg-turbo-dev \
|
||||||
libmcrypt-dev \
|
libmcrypt-dev \
|
||||||
|
|
@ -192,6 +193,7 @@ RUN set -ex; \
|
||||||
nodejs \
|
nodejs \
|
||||||
bind-tools \
|
bind-tools \
|
||||||
imagemagick \
|
imagemagick \
|
||||||
|
imagemagick-svg \
|
||||||
coreutils; \
|
coreutils; \
|
||||||
\
|
\
|
||||||
grep -q '^pm = dynamic' /usr/local/etc/php-fpm.d/www.conf; \
|
grep -q '^pm = dynamic' /usr/local/etc/php-fpm.d/www.conf; \
|
||||||
|
|
|
||||||
|
|
@ -56,7 +56,7 @@ if [ -n "$ADDITIONAL_APKS" ]; then
|
||||||
if ! [ -f "/additional-apks-are-installed" ]; then
|
if ! [ -f "/additional-apks-are-installed" ]; then
|
||||||
# Allow to disable imagemagick without having to download it each time
|
# Allow to disable imagemagick without having to download it each time
|
||||||
if ! echo "$ADDITIONAL_APKS" | grep -q imagemagick; then
|
if ! echo "$ADDITIONAL_APKS" | grep -q imagemagick; then
|
||||||
apk del imagemagick;
|
apk del imagemagick imagemagick-svg;
|
||||||
fi
|
fi
|
||||||
read -ra ADDITIONAL_APKS_ARRAY <<< "$ADDITIONAL_APKS"
|
read -ra ADDITIONAL_APKS_ARRAY <<< "$ADDITIONAL_APKS"
|
||||||
for app in "${ADDITIONAL_APKS_ARRAY[@]}"; do
|
for app in "${ADDITIONAL_APKS_ARRAY[@]}"; do
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue