Skip to content

Instantly share code, notes, and snippets.

@AlucardleVash
AlucardleVash / Dockerfile
Created October 20, 2020 09:05 — forked from akerouanton/README.md
A little script to easily start a debug session on PHP CLI scripts
FROM fpm-prod AS fpm-dev
USER 0
# net-tools is used by the php-debug script to get the IP address of the host
# system.
RUN apt-get update && \
apt-get install -y --no-install-recommends net-tools && \
pecl install xdebug && \
docker-php-ext-enable xdebug && \