Docker: Dev: Install linux-headers for xdebug
This commit is contained in:
parent
cafbddabbf
commit
147a40e581
|
@ -1,7 +1,7 @@
|
||||||
# Engelsystem PHP FPM/Nginx development image including Xdebug
|
# Engelsystem PHP FPM/Nginx development image including Xdebug
|
||||||
FROM php:8.1-fpm-alpine AS es_base
|
FROM php:8.1-fpm-alpine AS es_base
|
||||||
WORKDIR /var/www
|
WORKDIR /var/www
|
||||||
RUN apk add --no-cache icu-dev $PHPIZE_DEPS && \
|
RUN apk add --no-cache icu-dev linux-headers $PHPIZE_DEPS && \
|
||||||
pecl install pcov xdebug && \
|
pecl install pcov xdebug && \
|
||||||
docker-php-ext-install intl pdo_mysql && \
|
docker-php-ext-install intl pdo_mysql && \
|
||||||
docker-php-ext-enable pcov xdebug
|
docker-php-ext-enable pcov xdebug
|
||||||
|
|
Loading…
Reference in New Issue