Skip to content

Commit

Permalink
Merge pull request #4168 from nextcloud/enh/noid/fix-imagick
Browse files Browse the repository at this point in the history
fix imagick not having svg support
  • Loading branch information
szaimen committed Feb 2, 2024
2 parents 4a9328a + 1d70c43 commit 5cbbe1b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Containers/nextcloud/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ RUN set -ex; \
gmp-dev \
icu-dev \
imagemagick-dev \
imagemagick-svg \
libevent-dev \
libjpeg-turbo-dev \
libmcrypt-dev \
Expand Down Expand Up @@ -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; \
Expand Down
2 changes: 1 addition & 1 deletion Containers/nextcloud/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5cbbe1b

Please sign in to comment.