From bb105463275881d984e65ce482c141e80f2c5b5d Mon Sep 17 00:00:00 2001 From: J0WI Date: Fri, 1 Feb 2019 21:04:24 +0100 Subject: [PATCH] Add SVG support in full example Signed-off-by: J0WI --- .examples/README.md | 5 ++++- .examples/dockerfiles/full/apache/Dockerfile | 1 + .examples/dockerfiles/full/fpm-alpine/Dockerfile | 1 + .examples/dockerfiles/full/fpm/Dockerfile | 1 + 4 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.examples/README.md b/.examples/README.md index 015ff53e..476832a9 100644 --- a/.examples/README.md +++ b/.examples/README.md @@ -27,7 +27,7 @@ NOTE: Per default, only previews for BMP, GIF, JPEG, MarkDown, MP3, PNG, TXT, an NOTE: Nextcloud recommends [disabling preview generation](https://docs.nextcloud.com/server/12/admin_manual/configuration_server/harden_server.html?highlight=enabledpreviewproviders#disable-preview-image-generation) for high security deployments, as preview generation opens your nextcloud instance to new possible attack vectors. -The required steps for each optional/recommended package that is not already in the Nextcloud image are listed here, so that the Dockerfile can easily be modified to only install the needed extra packages. Simply remove the steps for the unwanted packages from the Dockerfile. +The required steps for each optional/recommended package that is not already in the Nextcloud image are listed here, so that the Dockerfile can easily be modified to only install the needed extra packages. Simply remove the steps for the unwanted packages from the Dockerfile. #### PHP Module bz2 `docker-php-ext-install bz2` @@ -49,6 +49,9 @@ The required steps for each optional/recommended package that is not already in #### ffmpeg `apt install ffmpeg` +#### imagemagick SVG support +`apt install libmagickcore-6.q16-3-extra` + #### LibreOffice `apt install libreoffice` diff --git a/.examples/dockerfiles/full/apache/Dockerfile b/.examples/dockerfiles/full/apache/Dockerfile index 4ddcea8e..9e600e76 100644 --- a/.examples/dockerfiles/full/apache/Dockerfile +++ b/.examples/dockerfiles/full/apache/Dockerfile @@ -5,6 +5,7 @@ RUN set -ex; \ apt-get update; \ apt-get install -y --no-install-recommends \ ffmpeg \ + libmagickcore-6.q16-3-extra \ smbclient \ supervisor \ # libreoffice \ diff --git a/.examples/dockerfiles/full/fpm-alpine/Dockerfile b/.examples/dockerfiles/full/fpm-alpine/Dockerfile index 716b32ff..37029c8e 100644 --- a/.examples/dockerfiles/full/fpm-alpine/Dockerfile +++ b/.examples/dockerfiles/full/fpm-alpine/Dockerfile @@ -4,6 +4,7 @@ RUN set -ex; \ \ apk add --no-cache \ ffmpeg \ + imagemagick \ samba-client \ supervisor \ # libreoffice \ diff --git a/.examples/dockerfiles/full/fpm/Dockerfile b/.examples/dockerfiles/full/fpm/Dockerfile index deab8d8b..5172e3f2 100644 --- a/.examples/dockerfiles/full/fpm/Dockerfile +++ b/.examples/dockerfiles/full/fpm/Dockerfile @@ -5,6 +5,7 @@ RUN set -ex; \ apt-get update; \ apt-get install -y --no-install-recommends \ ffmpeg \ + libmagickcore-6.q16-3-extra \ smbclient \ supervisor \ # libreoffice \