From 1d70c439b7323e9899c3bc88e6b1f63ec008160e Mon Sep 17 00:00:00 2001 From: Simon L Date: Fri, 2 Feb 2024 14:49:16 +0100 Subject: [PATCH] fix imagick not having svg support Signed-off-by: Simon L --- Containers/nextcloud/Dockerfile | 2 ++ Containers/nextcloud/start.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Containers/nextcloud/Dockerfile b/Containers/nextcloud/Dockerfile index c6a24ebc..1d08a160 100644 --- a/Containers/nextcloud/Dockerfile +++ b/Containers/nextcloud/Dockerfile @@ -38,6 +38,7 @@ RUN set -ex; \ gmp-dev \ icu-dev \ imagemagick-dev \ + imagemagick-svg \ libevent-dev \ libjpeg-turbo-dev \ libmcrypt-dev \ @@ -192,6 +193,7 @@ RUN set -ex; \ nodejs \ bind-tools \ imagemagick \ + imagemagick-svg \ coreutils; \ \ grep -q '^pm = dynamic' /usr/local/etc/php-fpm.d/www.conf; \ diff --git a/Containers/nextcloud/start.sh b/Containers/nextcloud/start.sh index e9e0cbc1..b4ca3519 100644 --- a/Containers/nextcloud/start.sh +++ b/Containers/nextcloud/start.sh @@ -56,7 +56,7 @@ if [ -n "$ADDITIONAL_APKS" ]; then if ! [ -f "/additional-apks-are-installed" ]; then # Allow to disable imagemagick without having to download it each time if ! echo "$ADDITIONAL_APKS" | grep -q imagemagick; then - apk del imagemagick; + apk del imagemagick imagemagick-svg; fi read -ra ADDITIONAL_APKS_ARRAY <<< "$ADDITIONAL_APKS" for app in "${ADDITIONAL_APKS_ARRAY[@]}"; do