Skip to content

Commit

Permalink
feat: add xdebug to containers
Browse files Browse the repository at this point in the history
  • Loading branch information
hendrikheil committed Aug 25, 2022
1 parent 2c06ec1 commit 605faf9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions 8.0-nginx.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ RUN apk --update --no-cache add \
less

RUN pecl install rdkafka && docker-php-ext-enable rdkafka
RUN pecl install xdebug && \
docker-php-ext-enable xdebug && \
rm -rf /tmp/pear

WORKDIR /app
USER 1000
2 changes: 2 additions & 0 deletions 8.0-swoole.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ RUN apk --update add \

RUN pecl channel-update pecl.php.net && \
pecl install mcrypt && \
pecl install xdebug && \
docker-php-ext-install \
mysqli \
mbstring \
Expand All @@ -51,6 +52,7 @@ RUN pecl channel-update pecl.php.net && \
xsl && \
docker-php-ext-configure gd --with-freetype=/usr/lib/ --with-jpeg=/usr/lib/ && \
docker-php-ext-install gd && \
docker-php-ext-enable xdebug && \
rm -rf /tmp/pear && \
rm /var/cache/apk/*

Expand Down

0 comments on commit 605faf9

Please sign in to comment.