From e5161f2de5725f03814b6cdbb9506651a8d6f4cb Mon Sep 17 00:00:00 2001 From: Tony Stipanic Date: Fri, 6 Nov 2020 12:39:10 +0100 Subject: [PATCH] Use iconv from alpine edge repo to fix plugins breaking Signed-off-by: Tony Stipanic --- Dockerfile-alpine.template | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Dockerfile-alpine.template b/Dockerfile-alpine.template index 1beeae26..1f9448ea 100644 --- a/Dockerfile-alpine.template +++ b/Dockerfile-alpine.template @@ -34,6 +34,11 @@ RUN set -ex; \ gmp-dev \ ; \ \ + apk add --update-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/community/ --allow-untrusted \ + gnu-libiconv \ + php7-iconv \ + ; \ + \ docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp; \ docker-php-ext-configure ldap; \ docker-php-ext-install -j "$(nproc)" \ @@ -95,6 +100,7 @@ VOLUME /var/www/html %%VARIANT_EXTRAS%% ENV NEXTCLOUD_VERSION %%VERSION%% +ENV LD_PRELOAD=/usr/lib/preloadable_libiconv.so RUN set -ex; \ apk add --no-cache --virtual .fetch-deps \