From e7b52348a37f1660356a57364b0bedbe7a89482e Mon Sep 17 00:00:00 2001 From: Chemaclass Date: Fri, 24 May 2024 14:22:27 +0200 Subject: [PATCH] add xdebug to Dockerfile --- build/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build/Dockerfile b/build/Dockerfile index 2020d7f..0fb5af1 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -4,6 +4,10 @@ RUN apt-get update && \ apt-get upgrade -y && \ apt-get install -y git +RUN pecl install -o -f xdebug \ + && rm -rf /tmp/pear \ + && docker-php-ext-enable xdebug + COPY --from=composer /usr/bin/composer /usr/bin/composer RUN useradd -m dev WORKDIR /srv/phel-web-skeleton