Skip to content

Commit 28512cc

Browse files
fix: remove memory limit for xdebug
1 parent 3458537 commit 28512cc

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

Dockerfile

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,2 @@
1-
FROM webdevops/php-nginx-dev:8.2-alpine
2-
USER root
3-
4-
# Install necessary build tools and headers
5-
RUN apk add --no-cache autoconf g++ make linux-headers
6-
7-
RUN pecl uninstall xdebug \
8-
&& rm -rf /usr/local/lib/php/extensions/no-debug-non-zts-*/xdebug.so \
9-
&& rm -rf /usr/local/lib/php/extensions/no-debug-non-zts-*/xdebug.so.debug
10-
11-
RUN pecl install xdebug-3.2.2 \
12-
&& docker-php-ext-enable xdebug
1+
FROM webdevops/php-nginx-dev:8.3-alpine
2+
RUN echo memory_limit = -1 >> /usr/local/etc/php/conf.d/docker-php-memlimit.ini;

0 commit comments

Comments
 (0)