xdebug needs linux-headers

This commit is contained in:
Deon George 2023-04-05 23:13:56 +10:00
parent 0c0d80472b
commit fca7560fa8
1 changed files with 3 additions and 4 deletions

View File

@ -3,8 +3,7 @@
FROM registry.dege.au/leenooks/php:8.1-fpm-alpine
# Enable xdebug
RUN pecl_install xdebug
# Add other built tools
RUN apk add npm
RUN apk --no-cache add npm linux-headers \
&& pecl_install xdebug \
&& apk --no-cache del linux-headers