From 7a6f35024822c29d79899945fdd66bcaf298c9f6 Mon Sep 17 00:00:00 2001 From: Simon L Date: Thu, 29 Dec 2022 13:26:30 +0100 Subject: [PATCH] try imagemagick6 Signed-off-by: Simon L --- Containers/nextcloud/Dockerfile | 2 +- Containers/nextcloud/start.sh | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Containers/nextcloud/Dockerfile b/Containers/nextcloud/Dockerfile index 0e581711..d5a28157 100644 --- a/Containers/nextcloud/Dockerfile +++ b/Containers/nextcloud/Dockerfile @@ -47,7 +47,7 @@ RUN set -ex; \ ghostscript-dev \ tiff-dev \ zlib-dev \ - imagemagick-dev \ + imagemagick6-dev \ libheif-dev \ librsvg-dev \ libxext-dev \ diff --git a/Containers/nextcloud/start.sh b/Containers/nextcloud/start.sh index 2513f52a..ba03eea7 100644 --- a/Containers/nextcloud/start.sh +++ b/Containers/nextcloud/start.sh @@ -43,6 +43,9 @@ if [ -n "$ADDITIONAL_APKS" ]; then if ! [ -f "/additional-apks-are-installed" ]; then read -ra ADDITIONAL_APKS_ARRAY <<< "$ADDITIONAL_APKS" for app in "${ADDITIONAL_APKS_ARRAY[@]}"; do + if [ "$app" = "imagemagick" ]; then + app=imagemagick6 + fi echo "Installing $app via apk..." if ! apk add --no-cache "$app" >/dev/null; then echo "The packet $app was not installed!"