Install imagemagick on Nextcloud to make a big warning triangle go away

This commit is contained in:
Salt 2021-10-12 15:29:06 -05:00
parent 5bc39e7f48
commit b15fdd96f5

View File

@ -3,6 +3,16 @@
docker_container: docker_container:
name: nextcloud name: nextcloud
image: nextcloud:21 image: nextcloud:21
# The entrypoint workaround is for this issue:
#
# https://github.com/nextcloud/docker/issues/1414
#
# This installs imagemagick to allow for SVG support and to clear the last
# setup warning in the application.
# It can be safely removed upon closure of this issue. I'm just doing it to
# make the big bad triangle go away.
entrypoint: /bin/sh
command: -c "apt-get update; apt-get install -y libmagickcore-6.q16-6-extra; /entrypoint.sh apache2-foreground"
env: env:
PHP_UPLOAD_LIMIT: 1024M PHP_UPLOAD_LIMIT: 1024M
networks: networks: