Added iconv and mbstring extensions to Docker image.

This commit is contained in:
Joao Alves 2021-03-23 22:05:45 +00:00
parent 28159a07ad
commit b1ad654ca8

View file

@ -19,9 +19,9 @@ RUN if [ $RUNUSER != "root" ] ; then addgroup -S $RUNUSER \
WORKDIR /var/www/html
RUN apk add --no-cache zip libzip openssl bzip2\
&& apk add --no-cache --virtual .build-deps libzip-dev openssl-dev bzip2-dev \
&& docker-php-ext-install zip fileinfo phar bz2\
RUN apk add --no-cache zip libzip openssl bzip2 \
&& apk add --no-cache --virtual .build-deps libzip-dev openssl-dev bzip2-dev oniguruma-dev \
&& docker-php-ext-install zip fileinfo phar bz2 iconv mbstring\
&& runDeps="$( \
scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions \
| tr ',' '\n' \