diff --git a/docker/php/Dockerfile b/docker/php/Dockerfile index ce1f119..da6c752 100644 --- a/docker/php/Dockerfile +++ b/docker/php/Dockerfile @@ -6,11 +6,17 @@ RUN apk add --no-cache bash git unzip # right system libraries itself, builds, and cleans up - much less fragile # than hand-maintaining apk build deps. COPY --from=mlocati/php-extension-installer:latest /usr/bin/install-php-extensions /usr/local/bin/ +# pcntl and posix aren't needed by php-fpm itself, but the puzzle-relay +# service (docker-compose.yml) runs this same image as a Workerman process, +# and Workerman requires both on Linux (its Windows-only code path, the one +# used in local dev, doesn't need them - which is why this was missed there). RUN install-php-extensions \ intl \ pdo_mysql \ opcache \ - zip + zip \ + pcntl \ + posix COPY --from=composer:2 /usr/bin/composer /usr/bin/composer