File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 1- FROM php:5.6-apache
1+ FROM php:5.6-apache-jessie
22
3+ RUN rm /etc/apt/preferences.d/no-debian-php
34# install memcache depdencies
4- RUN apt update
5+ RUN apt-get update
56RUN apt-get install -y \
67 php5-xmlrpc \
78 php5-memcache \
@@ -30,7 +31,7 @@ RUN echo "extension=memcache.so" >> /usr/local/etc/php/php.ini
3031RUN echo "date.timezone = Europe/Prague" >> /usr/local/etc/php/php.ini
3132
3233# install xdebug
33- RUN pecl install xdebug
34+ RUN pecl install xdebug-2.5.5 # lates xdebug that supports php5
3435RUN echo "zend_extension=/usr/local/lib/php/extensions/no-debug-non-zts-20131226/xdebug.so" >> /usr/local/etc/php/php.ini
3536RUN echo "xdebug.remote_enable=1" >> /usr/local/etc/php/php.ini
3637RUN echo "xdebug.idekey=PHPSTORM" >> /usr/local/etc/php/php.ini
@@ -39,4 +40,4 @@ RUN echo "xdebug.remote_connect_back=1" >> /usr/local/etc/php/php.ini
3940# install composer
4041RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/bin
4142
42- EXPOSE 9000
43+ EXPOSE 9000
You can’t perform that action at this time.
0 commit comments