skip to Main Content

How to add xdebug to php:8.1-fpm-alpine Docker container?

I have this dockerfile for my phpunit container: FROM php:8.1-fpm-alpine WORKDIR /var/www/html RUN apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/community/ --allow-untrusted gnu-libiconv ENV LD_PRELOAD /usr/lib/preloadable_libiconv.so php ENV PHP_MEMORY_LIMIT=1G ENV PHP_UPLOAD_MAX_FILESIZE: 512M ENV PHP_POST_MAX_SIZE: 512M RUN docker-php-ext-install pdo RUN apk add --no-cache libpng…

VIEW QUESTION
Back To Top
Search