diff --git a/7.1/Dockerfile b/7.1/Dockerfile index 1b801a0..8b067d5 100644 --- a/7.1/Dockerfile +++ b/7.1/Dockerfile @@ -68,5 +68,9 @@ RUN composer global require "squizlabs/php_codesniffer=*" # Cleanup dev dependencies RUN apk del -f .build-deps +# fix work iconv library with alphine +RUN apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/community/ --allow-untrusted gnu-libiconv +ENV LD_PRELOAD /usr/lib/preloadable_libiconv.so php + # Setup working directory WORKDIR /var/www diff --git a/7.2/Dockerfile b/7.2/Dockerfile index 64e9d93..6c751a4 100644 --- a/7.2/Dockerfile +++ b/7.2/Dockerfile @@ -68,5 +68,9 @@ RUN composer global require "squizlabs/php_codesniffer=*" # Cleanup dev dependencies RUN apk del -f .build-deps +# fix work iconv library with alphine +RUN apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/community/ --allow-untrusted gnu-libiconv +ENV LD_PRELOAD /usr/lib/preloadable_libiconv.so php + # Setup working directory WORKDIR /var/www diff --git a/7.3/Dockerfile b/7.3/Dockerfile index ba63ac0..6df8019 100644 --- a/7.3/Dockerfile +++ b/7.3/Dockerfile @@ -66,5 +66,9 @@ RUN composer global require "squizlabs/php_codesniffer=*" # Cleanup dev dependencies RUN apk del -f .build-deps +# fix work iconv library with alphine +RUN apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/community/ --allow-untrusted gnu-libiconv +ENV LD_PRELOAD /usr/lib/preloadable_libiconv.so php + # Setup working directory WORKDIR /var/www diff --git a/latest/Dockerfile b/latest/Dockerfile index b15230c..bf20bdf 100644 --- a/latest/Dockerfile +++ b/latest/Dockerfile @@ -66,5 +66,9 @@ RUN composer global require "squizlabs/php_codesniffer=*" # Cleanup dev dependencies RUN apk del -f .build-deps +# fix work iconv library with alphine +RUN apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/community/ --allow-untrusted gnu-libiconv +ENV LD_PRELOAD /usr/lib/preloadable_libiconv.so php + # Setup working directory WORKDIR /var/www