Skip to content

Commit

Permalink
Fixing MySql
Browse files Browse the repository at this point in the history
  • Loading branch information
Francisco Barrento committed Dec 5, 2017
1 parent f1654a0 commit e910b0a
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions 7.1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,26 @@ RUN php -v && \
git --version && \
composer --version

RUN docker-php-ext-install intl
RUN docker-php-ext-install pdo_mysql
RUN docker-php-ext-install pdo_pgsql
RUN docker-php-ext-configure gd --enable-gd-native-ttf --with-freetype-dir=/usr/include/freetype2 --with-png-dir=/usr/include --with-jpeg-dir=/usr/include
RUN docker-php-ext-install gd
RUN pecl install imagick
RUN docker-php-ext-enable imagick
RUN set -xe cd /tmp \
&& curl -sO https://codeload.github.com/php-memcached-dev/php-memcached/zip/php7 \
&& unzip php7 \
&& cd php-memcached-php7 \
&& phpize \
&& ./configure \
&& make install \
&& cd / && rm -rf /tmp/php-memcached-php7 \
&& docker-php-ext-enable memcached

RUN pecl install xdebug
RUN docker-php-ext-enable xdebug

VOLUME /var/lib/mysql

CMD ["php", "-a"]

0 comments on commit e910b0a

Please sign in to comment.