This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM php:7-fpm-alpine | |
RUN apk --update add --virtual build-dependencies build-base openssl-dev autoconf \ | |
&& pecl install mongodb \ | |
&& docker-php-ext-enable mongodb \ | |
&& apk del build-dependencies build-base openssl-dev autoconf \ | |
&& rm -rf /var/cache/apk/* | |
# Time Zone | |
RUN echo "date.timezone=${PHP_TIMEZONE:-UTC}" > $PHP_INI_DIR/conf.d/date_timezone.ini |