Skip to content

Instantly share code, notes, and snippets.

@guiyomh
Last active October 19, 2018 15:05
Show Gist options
  • Save guiyomh/6d48d31061b593e497247fd58a8e2164 to your computer and use it in GitHub Desktop.
Save guiyomh/6d48d31061b593e497247fd58a8e2164 to your computer and use it in GitHub Desktop.
FROM php:7-alpine
RUN set -xe \
&& apk add --no-cache --virtual .build-deps \
$PHPIZE_DEPS \
&& pecl install xdebug
ENV XDEBUG_ENABLED=0 \
XDEBUG_REMOTE_HOST=0.0.0.0
COPY xdebug.ini.tpl /usr/local/etc/php/conf.d/90-xdebug.ini.tpl
COPY docker-php-entrypoint-extra /usr/local/bin/
ENTRYPOINT ["docker-php-entrypoint-extra"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment