Xdebug runs out of memory with PHPUnit – Docker
Maybe memory overflow isn't the correct description of what happening, but the point is: PHPUnit eat all of the memory and then dies the container. Here is my phpunit.dockerfile: 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…