Skip to content

Instantly share code, notes, and snippets.

@mattKendon
mattKendon / Dockerfile
Created September 3, 2018 15:13
Xdebug Dockerfile
FROM php:7.1-alpine
RUN apk add $PHPIZE_DEPS \
&& yes | pecl install xdebug \
&& echo "zend_extension=$(find /usr/local/lib/php/extensions/ -name xdebug.so)" > /usr/local/etc/php/conf.d/xdebug.ini \
&& echo "xdebug.remote_enable=on" >> /usr/local/etc/php/conf.d/xdebug.ini \
&& echo "xdebug.remote_autostart=off" >> /usr/local/etc/php/conf.d/xdebug.ini \
&& apk del $PHPIZE_DEPS

Keybase proof

I hereby claim:

To claim this, I am signing this object:

@mattKendon
mattKendon / .global_gitignore
Last active November 3, 2016 11:50 — forked from octocat/.gitignore
Some common .gitignore configurations
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #