FROM php:7.0-fpm-alpine ENV PHPIZE_DEPS \ autoconf \ file \ g++ \ gcc \ libc-dev \ make \ pkgconf \ re2c \ icu-dev \ sqlite-dev RUN apk update && apk add --no-cache --virtual .build-deps $PHPIZE_DEPS && apk add icu-libs icu RUN /usr/local/bin/docker-php-ext-install pdo_mysql intl RUN echo "y\n"|pecl install scrypt && /usr/local/bin/docker-php-ext-enable scrypt RUN echo "y\n"|pecl install xdebug && /usr/local/bin/docker-php-ext-enable xdebug RUN apk del .build-deps COPY ./php.ini /usr/local/etc/php