Workaround to fix the build as documented in https://github.com/docker-library/php/issues/1245

This commit is contained in:
Deon George 2022-02-06 17:34:50 +11:00
parent 9c00fd3eb5
commit 1f3a2cc04f
1 changed files with 1 additions and 1 deletions

View File

@ -3,4 +3,4 @@
FROM registry.leenooks.net/leenooks/php:8.0-fpm-latest
RUN docker-php-ext-install -j$(nproc) sockets pcntl
RUN CFLAGS="$CFLAGS -D_GNU_SOURCE" docker-php-ext-install -j$(nproc) sockets pcntl