Created
August 9, 2015 11:52
-
-
Save rayrutjes/c04e050453c8c0b55b37 to your computer and use it in GitHub Desktop.
Official php dockerfile with xdebug
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:5.6-fpm | |
RUN curl -L -o /tmp/xdebug-2.3.3.tgz http://xdebug.org/files/xdebug-2.3.3.tgz \ | |
&& tar xfz /tmp/xdebug-2.3.3.tgz \ | |
&& rm -r /tmp/xdebug-2.3.3.tgz \ | |
&& mv xdebug-2.3.3 /usr/src/php/ext/xdebug \ | |
&& docker-php-ext-install xdebug | |
CMD ["php-fpm"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Great ! Exactly the solution for my problem. 👍