We need linux-headers installed, its not installed with docker-php-ext-install

This commit is contained in:
Deon George 2024-02-05 21:51:15 +11:00
parent f7d82b756a
commit 1114b22914
1 changed files with 3 additions and 1 deletions

View File

@ -3,4 +3,6 @@
FROM registry.dege.au/leenooks/php:8.3-fpm-pgsql
RUN docker-php-ext-install -j$(nproc) sockets pcntl
RUN apk --no-cache add linux-headers \
&& docker-php-ext-install -j$(nproc) sockets pcntl \
&& apk --no-cache del linux-headers