Skip to content

Instantly share code, notes, and snippets.

@kamiazya
Created March 6, 2018 06:13
Show Gist options
  • Save kamiazya/685cf240db9edace136d0d04779ea800 to your computer and use it in GitHub Desktop.
Save kamiazya/685cf240db9edace136d0d04779ea800 to your computer and use it in GitHub Desktop.
PHPでXdebugを使う(未検証)
FROM php:7.1.14-fpm-alpine3.4
# mysql
RUN docker-php-ext-install mysqli pdo_mysql
# xdebug
RUN apk add --no-cache $PHPIZE_DEPS \
&& pecl install xdebug-2.5.0 \
&& docker-php-ext-enable xdebug
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment