Add pcntl/posix PHP extensions for Reverb signal handling
All checks were successful
Build and push image / build (push) Successful in 1m25s

The Reverb websocket server (artisan reverb:start) needs pcntl for
SIGINT/SIGTERM/SIGTSTP signal handling on shutdown; the base php:apache
image doesn't enable it by default.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-22 16:33:08 +02:00
parent 90fae0a4de
commit def7c70887

View File

@@ -8,7 +8,7 @@ RUN apt-get update && apt-get install -y \
unzip \ unzip \
git \ git \
libldap2-dev \ libldap2-dev \
&& docker-php-ext-install curl mysqli pdo pdo_mysql ldap zip && docker-php-ext-install curl mysqli pdo pdo_mysql ldap zip pcntl posix
# Kopiowanie Composera z oficjalnego obrazu # Kopiowanie Composera z oficjalnego obrazu
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer COPY --from=composer:latest /usr/bin/composer /usr/bin/composer