Merge pull request #1624 from nextcloud/fix/noid/avatar-generation

add freetype-dev and fontconfig-dev for compiliing imagick
This commit is contained in:
Simon L 2022-12-29 11:15:18 +01:00 committed by GitHub
commit 6fdc539ff4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -60,7 +60,7 @@ if [ -n "$ADDITIONAL_PHP_EXTENSIONS" ]; then
# shellcheck disable=SC2086
if [ "$PHP_DEPS_ARE_INSTALLED" != 1 ]; then
echo "Installing PHP build dependencies..."
if ! apk add --no-cache --virtual .build-deps libxml2-dev imagemagick-dev autoconf $PHPIZE_DEPS >/dev/null; then
if ! apk add --no-cache --virtual .build-deps libxml2-dev freetype-dev fontconfig-dev imagemagick-dev autoconf $PHPIZE_DEPS >/dev/null; then
echo "Could not install build-deps!"
fi
PHP_DEPS_ARE_INSTALLED=1