code-examples-php icon indicating copy to clipboard operation
code-examples-php copied to clipboard

Missing dependencies in Dockerfile

Open AeroFury opened this issue 2 years ago • 1 comments

Hello,

When running "docker compose up -d" I get the following error during STEP 4/13 => ERROR [php-fpm stage-1 4/13] RUN pecl install imagick xdebug

27.69 configure: error: rtnetlink.h is required, install the linux-headers package: apk add --update linux-headers 27.71 ERROR: `/tmp/pear/temp/xdebug/configure --with-php-config=/usr/local/bin/php-config' failed

Adding "RUN apk add --update linux-headers" to the Dockerfile fixes this issue.

AeroFury avatar Sep 15 '23 10:09 AeroFury

Hi, thank you for the feedback. We'll investigate.

meihDS avatar Sep 15 '23 23:09 meihDS